<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=195104912-14112002><FONT face=Arial color=#0000ff size=2>What
about sortingn this part by id and getting the first
elmenet?</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> glliu
[mailto:itslgl@hotmail.com] <BR><B>Sent:</B> Thursday, November 14, 2002 7:45
AM<BR><B>To:</B> jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] how
to find a node with maxest attribute in xml file use
xpath?<BR><BR></FONT></DIV>
<DIV><FONT size=2>
<DIV><FONT size=2>Hi,<BR> I use jdom to reading
and writing to XML files.and I need help on the following problem. Any
suggestions?</FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV><FONT size=2> Thanks in Advance.<BR> glliu</FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV><FONT size=2> </FONT></DIV>
<DIV><FONT size=2>xml files:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> <A></FONT></DIV>
<DIV><FONT size=2> <AAA
id="001"></FONT></DIV>
<DIV><FONT size=2> <AAA
id="004"></FONT></DIV>
<DIV><FONT size=2> <AAA
id="023"></FONT></DIV>
<DIV><FONT size=2> <AAA
id="098"></FONT></DIV>
<DIV><FONT size=2> <AAA
id="002"></FONT></DIV>
<DIV><FONT size=2> <A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>how can I find the node with maxest id attribute?here is
<AAA id="098">.<BR></DIV></FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>