|
Subject: Re: [xsl] Sorting under for-each-group From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 8 Aug 2006 15:05:03 +0100 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Sorting under for-each-gr, andrew welch | Thread | Re: [xsl] Sorting under for-each-gr, Florent Georges |
| Re: [xsl] Sorting under for-each-gr, andrew welch | Date | Re: [xsl] Sorting under for-each-gr, Florent Georges |
| Month |