tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matsuha...@quick.co.jp
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="...."/>
        .....
</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:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message