Hi Michael

BTW sorry about the delay getting to you - I've been offline for a while due
to travelling and connection problems).

I've added support for specifying ascending or descending sort order to the
<xtags:forEach> tag.

So to sort in descending (name) order you can do things like (using the
periodic table example)

<xtags:forEach select="//ATOM" sort="NAME" ascending="false">
    ...

I've just committed these changes to CVS so should show up in tomorrows
nightly build.

James
----- Original Message -----
From: "FOSS,MICHAEL (HP-NewJersey,ex2)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 5:38 PM
Subject: XTags sort order


> Hi James,
>
> I am using XTags and would like to sort in a descending order.  Is
> there a way to do this in XTags?  I am using the XTags forEach tag with
the
> sort attribute but it sorts ascending by default.  The functionality I'm
> looking for in XTags is equivalent to the XSLT sort element that has an
> order attribute with values of ascending|descending.
>
> Thanks in advance for your help.
>
> > =========================================
> >  Michael Foss
> >  Senior Software Developer
> >  Hewlett-Packard Co     Phone: (856) 638 - 6058
> >  6000 Irwin Road           Email: [EMAIL PROTECTED]
> >  Mt. Laurel, NJ 08054    Web: http://www.bluestone.com
> > =========================================
> >
> >


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to