[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Ignoring data before first match element
Hi, I have a basic XML template something like this clip: <data> <searchTerm>ID=12345</searchterm> <response> <record id="1"> ...lots more here My XSL is as follows (declaration and other omitted): ... <xsl:template match="record"> <xsl:apply-templates select="Field" /> </xsl:template> ... The match works as expected, but the contents of the <searchTerm> element (ID=12345) is output at the begining of the transform result (without the element tags around them). Why is this happening? Should the content before my first "match" not be ignored? Any help appreciated. JW
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|