This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Incrementing/Recursion... (somewhat)
- To: XSL List <xsl-list at mulberrytech dot com>
- Subject: Incrementing/Recursion... (somewhat)
- From: Stephen Cunliffe <scunliffe at digitalfairway dot com>
- Date: Mon, 13 Nov 2000 11:34:47 -0600
- Organization: Digital Fairway Corporation
- Reply-To: xsl-list at mulberrytech dot com
Monday is causing me brain failure...
I'm looking to do the following (or something similar).
based on the pseudo XML below:
<groups>
<group>First</group>
<group>Second</group>
<group>Third</group>
<group>Fourth</group>
<group>Fifth</group>
</groups>
in my XSL I want to get output, that "increments" for each item of group
data, as it is processed,
giving HTML output of:
[#] First
[#][#] Second
[#][#][#] Third
[#][#][#][#] Fourth
[#][#][#][#][#] Fifth
where "[#]" is some bit of text,(not a number) that can be repeated for
spacing output in a pseudo tree format.
I guess what I'm looking for is something that will "repeat" or
"for-each", based on the position, within "groups".
T.I.A.
Steve.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list