Re: [xsl] Confused using a loop...

Subject: Re: [xsl] Confused using a loop...
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 28 Mar 2007 17:51:08 +0200
Austin, Darrel wrote:
To learn how xsl:sort works, I suggest you use xsl:value-of right after the statement that should be doing the sorting:

<xsl:sort select="some/Xpath">
<sort-by>
<xsl:value-of select="some/Xpath">
</sort-by>



XsltException: 'xsl:sort' cannot be a child of 'xsl:for-each' element.

Put all the xsl:value-of *after* all the xsl:sort. There cannot be anything between xsl:sort and xsl:sort.


Cheers,
-- Abel

Current Thread