xsl-list
[Top] [All Lists]

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

2007-03-28 08:53:12
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>