Subject: [xsl] xsl:sort for the first child element From: Maik Stührenberg <Maik.Stuehrenberg@xxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 03 Jun 2003 11:55:07 +0200 |
<Bibitem Type="Book" Label="TEI"> <Editor> <Given>C.M.</Given> <Family>Sperberg-McQueen</Family> </Editor> <Editor> <Given>L.</Given> <Family>Burnard</Family> </Editor> <Title>TEI P4: Guidelines for Electronic Text Encoding and Interchange</Title> <Address>XML Version: Oxford, Providence, Charlottesville, Bergen</Address> <Year>2002</Year> </Bibitem>
... <xsl:if test="Bibitem/@Type='Book'"> <xsl:for-each select="Bibitem[@Type='Book']"> <xsl:sort select="Author[1]/Family | Editor[1]/Family | Organization"/> <p> <xsl:apply-templates select="."/> </p> </xsl:for-each> </xsl:if> ...
<Bibitem Type="Book" Label="TEI"> <Editor> <Given>C.M.</Given> <Family>Sperberg-McQueen</Family> </Editor> <Editor> <Given>L.</Given> <Family>Burnard</Family> </Editor> <Title>TEI P4: Guidelines for Electronic Text Encoding and Interchange</Title> <Organization>Text Encoding Initiative Consortium</Organization> <Address>XML Version: Oxford, Providence, Charlottesville, Bergen</Address> <Year>2002</Year> </Bibitem>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] putting values in string, philips | Thread | Re: [xsl] xsl:sort for the first ch, David Carlisle |
Re: [xsl] Duplicates, David Carlisle | Date | Re: [xsl] xsl:sort for the first ch, David Carlisle |
Month |