I have an xml document that has a list of nodes,  each have two children.
(see example below)  What I would like to do is write a method to sort the
nodes so that they are listed alphabetically by <artist>.  Has anyone done
anything similar to this? If so, can you give me some tips to move me in the
right direction.  Thank You.


Example:
<archive>
        <interview>
                <artist></artist>
                <filename></filename>
        </interview>
        <interview>
                <artist></artist>
                <filename></filename>
        </interview>
<archive>





Steve Bayouk

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to