This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
accessing previously created element
- From: "paul morgan" <pmorg at lycos dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 01 May 2002 12:07:55 -0700
- Subject: [xsl] accessing previously created element
- Organization: Lycos Mail (http://www.mail.lycos.com:80)
- Reply-to: xsl-list at lists dot mulberrytech dot com
I'm going to have a simple sequence of elements:
a
a
:
:
that will be transformed into a more complex sequence:
b
c
d
b
c
d
:
:
unfortunately when transforming the i'th 'a' element to a 'b' (assume i > 1) I also need to access the (i-1)'th 'b' element; that is, the values used to create a 'b' element are dependent upon the current 'a' element being transformed and the preceding 'b' element. Is this possible? in a single pass?
Any hints, suggestions, or pointers to documentation are most appreciated.
Paul
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list