xsl-list
[Top] [All Lists]

problem with numbering

2002-09-16 07:15:24
Hello,

I have a problem with the xsl:number-element. In the following part of a
XML-document I am not able to produce the numbering which I have declared in
the comments.

<NUMMERIERUNG>
   <!--1.--><NELEMENT>text1</NELEMENT>
   <!--2.--><NELEMENT>text2</NELEMENT>
   <NUMMERIERUNG>
    <!--2.1--><NELEMENT>text21</NELEMENT>
    <!--2.2--><NELEMENT>text22</NELEMENT>
   </NUMMERIERUNG>
   <!--3.--><NELEMENT>text3</NELEMENT>
</NUMMERIERUNG>

The output should be:

1.text1
2.text2
2.1.text21
2.2.text22
3.text3

Thanks in advance,

Lars Geldner


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>