[Zope] Fw: XMLDocument - sort

lexberezhny lexberezhny@msn.com
Mon, 15 May 2000 22:51:13 -0400


From: "dillera@isc.upenn.edu" <>
To: ukiseal@hotmail.com
Subject: XMLDocument - sort
Date: Mon, 15 May 2000 13:48:11 -0400

I want to be able to sort my 'view' of a XML Document and can't find out
how.

Here is how a sort on a folder full of objects:

<dtml-in "PARENTS[0].objectValues(['NESS_Project'])" sort=end_date>

(where end_data is an attribute for my ZClass NESS_Project)
so in XMLDocument:

<dtml-in "getElementsByTagName('book')" >

you must need something like:

<dtml-in "getElementsByTagName('book')" sort= ?something? >

but nothing works. In fact, every time I view my XML Document, its listed
differently.

-andy diller