This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
multi-levels counter
- From: "Allen Chu" <achu at dscs dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 10 Jun 2002 11:12:19 -0400
- Subject: [xsl] multi-levels counter
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi!
I have a XML fragment like this:
<level-1 title="...">
<text>...
</text>
<text>..
</text>
<leve-2 title="...">
<text>...
</text>
<level-3 title="...">
<level-4 title="...">
<text>...
</text>
</level-4>
</level-3>
</level-2>
<level-2 title="...">
<text>
</text>
</level-2>
</level-1>
How can I keep a counter for each <text> segment? Thanks in advance!!
Allen Chu
Data conversion programmer
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list