[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Loading XML with XSL for sorting in ASP
This does it
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/ Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/DVD"> <xsl:apply-templates> <xsl:sort select="title" /> </xsl:apply-templates> </xsl:template> <xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="node()|@*"> <xsl:sort select="title" /> </xsl:apply-templates> </xsl:copy> </xsl:template> </xsl:stylesheet> How can I insert a second sort in /DVD/others by name with the same xsl or do I have to use a second xsl Thanks On 24-jan-06, at 15:10, David Carlisle wrote: The output xml I hope to get
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|