This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem with numbering


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]