Subject: [xsl] xsl:number question From: Ruediger Geys <ruediger.geys@xxxxxxxxxx> Date: Thu, 17 Oct 2002 08:26:30 +0200 (CEST) |
Hello list, the code <xsl:for-each select="//Section"> <xsl:number count="Section" format="1 " level="multiple"/> </xsl:for-each> on a document like <Flow> <Section> <Section> </Section> </Section> </Flow> <Flow> <Section> </Section> </Flow> Is producing the numbering 1 1.1 1 which is correct. But I would like to ignore the Flow tags when numbering Section to get the numbering 1, 1.1, 2. Unfortunately I can not tell xsl:number to operate on something else then the input document eg. a selection of the Sections into a xsl:variable. Does anyone know a solution ? Thanks for your help :-) greetings Rüdiger XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Usage of transformNodeToO, Nirmala R | Thread | [xsl] lotus domino key problem, Jon . Norman |
[xsl] Usage of transformNodeToObjec, Nirmala R | Date | RE: [xsl] How do I locate the paren, steve . l . lake |
Month |