xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor