[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Ignoring data before first match element

Subject: Ignoring data before first match element
From: mylistaddress@xxxxxxxxxx
Date: Mon, 11 Apr 2005 04:16:23 -0700 (PDT)
xsl first match
I have a basic XML template something like this clip:

  <record id="1">
  ...lots more here

My XSL is as follows (declaration and other omitted):
<xsl:template match="record">
 <xsl:apply-templates select="Field" />

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.


Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.