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

Re: [xsl] testing for position of an element and displaying it accordingly


Subject: Re: [xsl] testing for position of an element and displaying it accordingly
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 25 Jan 2007 18:15:47 GMT

as has been stated before

<xsl:if test="a">
<xsl:apply-templates select="a"/>
</xsl:if>


is ___exactly__ the same thing as


<xsl:apply-templates select="a"/>


and this causes all a elements to be processed at this point, out of
their natural order. If you didn't do this your problem would go away.

David


Current Thread