How about applying <x:transform> tag to your original input XML to obtain
another XML in which elements are ordered as you would like, then apply
<x:forEach> and <x:out> tags to the latter XML?

In the XSLT stylesheet, you would want a template like :

<xsl:template match=" ... ">
    <xsl:sort select=" ..." order="...."/>
        .....
</xsl:template>

If you show how your input XML document looks like, then I may be able to
code a sample XSLT stylesheet and JSP fragment for you.


     Kazuaki Matsuhashi



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to