Jump to content

Select Copyy-of Question


Guest jay c

Recommended Posts

Guest jay c

I'm trying to pull the complete XML (structure and data) from my input file and put into a string....I am doing: <string><xsl:copy-of select="ancestor-or-self::node()"/></string>and it is not returning the complete structure.I first do a: <xsl:template match="/"> then: <xsl:copy-of select="ancestor-or-self::node()"/>and the input XML is 9 lines long and the output will be 8. The root tag is missing from the output.Why is my SELECT not returning the root node?Is there a better way to do what I'm trying to do?Thanks for any help...Jack

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...