DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20531>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20531 Variables not supported in <sort> ------- Additional Comments From [EMAIL PROTECTED] 2003-06-06 16:08 ------- I believe XSLT is "up to the task." The current() function returns a node-set containing the current node in the for-each, which, in this case, is the current Datum element. Isn't that what you want? <xsl:for-each select="/Top/Data/Datum"> <xsl:sort select="/Top/SortCriteria/Criterion[.=current()]/@order"/> Template Here <xsl:value-of select="@otherInfo"/> </xsl:for-each> Note I also had to correct your typo in the location path of the select attribute.
