tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Advice needed for <x:forEach select
Date Fri, 17 Jan 2003 04:07:23 GMT

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="...."/>

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:   <>
For additional commands, e-mail: <>

View raw message