in reply to Re^3: How to retrieve the last node value
in thread Retrieving the last node value from an XML file

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on Re^4: How to retrieve the last node value

Replies are listed 'Best First'.
Re^5: How to retrieve the last node value
by derby (Abbot) on Aug 15, 2006 at 13:41 UTC

    Here's a starter ... the following XSLT stylesheet will order your XML based on NICKID:

    <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="iso-8859-1" indent="yes"/> <xsl:template match="MEMBERLIST"> <xsl:apply-templates select="LIST"> <xsl:sort select="NICKID" data-type="number" order="ascending" /> </xsl:apply-templates> </xsl:template> <xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()" /> </xsl:copy> </xsl:template> </xsl:stylesheet>

    -derby