[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Order of xsl:template matching


Subject: [xsl] Order of xsl:template matching
From: mylistaddress@xxxxxxxxxx
Date: Wed, 11 May 2005 05:48:20 -0700 (PDT)

Hi again,

Given this XML chunk:
<TEXT>sldj aldj aldj a</TEXT>
<REPORT>12345</REPORT>

How can I apply templates and have the REPORT appear
before the TEXT in the results of the transformation?

By default, ther matches seem to get processed in the
order in which they appear in the XML. To change this
order, must I use xsl:value-of select= of the fields,
or can it be done with template matching?

Thanks,

JW


Current Thread
Keywords
xml