[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:number question
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|