[xsl] problem with numbering

Subject: [xsl] problem with numbering
From: "Lars Geldner" <geldner@xxxxxx>
Date: Mon, 16 Sep 2002 16:15:24 +0200
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


Current Thread