Subject: [xsl] continuation of xsl:number From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx> Date: Wed, 21 Aug 2002 12:18:56 +0100 |
Hi all, The data I have contains many nested steps, both in say <start> and <end>. To number these steps I use xsl:number - however because of the doc structure <steps> in <end> start from 1 again (as it should), but I need it to continue counting from the last step: <root> <start> <s1> <para>1</para> <s2> <para>1.1</para> </s2> </s1> <s1> <para>2</para> </s1> </start> <end> <s1> <para>3</para> <s2>3.1....</s2> </s1> </end> </root> As in the example, the numbering of the steps in the end should carry on from the last step. Is the only way to use count() instead of some neat use of xsl:number?? (they could go 9 steps deep so it would be quite a line of code...) cheers andrew --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Adding an I-Frame in XSL , Kimberly Hahn | Thread | RE: [xsl] continuation of xsl:numbe, Andrew Welch |
[xsl] Adding an I-Frame in XSL code, Brian Hickey | Date | RE: [xsl] continuation of xsl:numbe, Andrew Welch |
Month |