Subject: [xsl] How to put sorted nodes into a variable? (to xsl:number a sorted node-set) From: "ongeaddresseerd ongeaddresseerd" <ongeadresseerd@xxxxxxxxxxx> Date: Mon, 05 Jan 2004 11:50:24 +0000 |
<thing sequenceIndex="30" key="hardware"> <thing sequenceIndex="20" key="computerB"> </thing> <thing sequenceIndex="5" key="computerA"> <thing sequenceIndex="5" key="diskOne"> </thing> <thing sequenceIndex="10" key="diskTwo"> </thing> </thing> <thing <thing sequenceIndex="10" key="software"> </thing>
1 software 2 hardware 2.1 computerA 2.1.1 diskOne 2.1.2 diskTwo 2.2 computerB
<xsl:variable name="sorted-things" select="//Thing"> <!-- see question 1 below --> </xsl:variable>
<xsl:for-each select="$sorted-things"> <fo:block> <xsl:number level="multiple" grouping-size="1" grouping-separator="."/> <xsl:text> </xsl:text> <xsl:value-of select="@key"/> </fo:block> </xsl:for-each>
Mathieu van Echtelt Groningen the Netherlands
_________________________________________________________________ MSN Zoeken helpt je om de gekste dingen te vinden! http://search.msn.nl
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] msxml stylesheet for displayi, bryan | Thread | RE: [xsl] How to put sorted nodes i, Michael Kay |
RE: [xsl] Reprocess template result, Andrew Welch | Date | Re: [xsl] How can I do to clear a r, Manos Batsis |
Month |