<html>
<head>
</head>
<body>
Kevin,<br>
I don't know of any ordering operators in XPath. Typically, you'd do something
with XSLT for reorgainizing your XML, or you could look in the java.util
classes. Look at java.util.Collections.sort(List, Comparator).<br>
<br>
David<br>
<br>
On 12/3/2002 4:40 PM, Kevin Rall wrote:<br>
<blockquote type="cite" cite="mid:BDFB2B10C7E90E4CB7E9D8D0297E2C947972DA@omig2.omig.com">
<title>Message</title>
<meta content="MSHTML 5.50.4807.2300" name="GENERATOR">
<div><span class="960353421-03122002"><font face="Tahoma" size="2">I'm
using the jaxen JDOMXPath.selectNodes() method to "query" an xml document.
However, I want to sort the results alphabetically using the text of a given
"child" element. Is this possible with JDOM, or is my approach completely
wrong?</font></span></div>
<div><span class="960353421-03122002"></span> </div>
<div><span class="960353421-03122002"><font face="Tahoma" size="2">Thanks
in advance for any response.</font></span></div>
<div><span class="960353421-03122002"></span> </div>
<div><span class="960353421-03122002"><font face="Tahoma" size="2">Kevin</font>
</span></div>
</blockquote>
<br>
</body>
</html>