[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Sorting under for-each-group
I think you just want to add two xsl:sort: ... <xsl:for-each select="current-group()"> <xsl:sort select="Author"/> <xsl:sort select="title"/> ... saxon8 sort2.xml sort2.xsl \!indent=yes \!encoding=us-ascii <?xml version="1.0" encoding="us-ascii"?> <List> <Entry> <Subject>Catalogs. Austria</Subject> <Item> <Author>Kolár, Hugo</Author> <Book> <Title>Katalog známok Rakúsko 1850-1918</Title> <Edition>Second</Edition> </Book> </Item> <Item> <Author>Sieger, Hermann Walter</Author> <Book> <Title>Zeppelinpost spezialkatalog</Title> </Book> </Item> </Entry> </List> David
|
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
|