You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Maya Vayner <mv...@onesourcecorp.com> on 2002/04/24 23:32:33 UTC

Question about using xtags' forEach to sort

Hi All,
I am new here.
We are using xtags to render XML on our JSP pages.
Has anybody tried the the attribute "sort" in forEach tag to do sorting
based on two things? Like in SQL: order by something1, something2?
I've tried to give a single xpath expression like sort="@categoryName" and
works great. But my problem is that I have to sort by groups organized by a
certain id, like parentID. So when I try to give it sort="@parentID and
@categoryName" it does only search by parentID. Is there any way around
this?
Thank you,
~~~~~~~~~~~~~~~~~~~~~
Maya Vayner
Technical Architect
One Source Computer Services
Website: www.myerete.com
Email: mvayner@onesourcecorp.com
Work: (508)370-3960 ext.40





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>