[Zope] Sorting XML nodes?
   
    Jean Jordaan
     
    Jean@mosaicsoftware.com
       
    Mon, 31 Jul 2000 13:13:22 +0200
    
    
  
Hi Zopers (and Lex),
From the (excellent) 'How-To: XMLDocument Example' (Created 
by eukreign. Last modified on 2000/06/06) I get the following 
to display all the nodes of an XML document:
<dtml-in "contacts[0].getElementsByTagName('contact')">
    <tr>
        <td> <dtml-var "text_content('firstname')">
             <dtml-var "text_content('lastname')"></td>
        <td> <dtml-var "text_content('extension')"></td>
        <td> <a href="<dtml-var "absolute_url()">/edit">edit</a></td>
        <td> <a href="<dtml-var "absolute_url()">/delete">delete</a></td>
    </tr>
</dtml-in>
I want something along the lines of:
  <dtml-in "contacts[0].getElementsByTagName('contact')" 
           sort="lastname">
Is such a thing possible?
Thanks!
-- 
jean