Subject: RE: Continue seqlist numbering
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Mon, 5 Jan 2004 17:02:57 -0000
|
> I have two seqlist lists in a row in my xml like:
>
> <seqlist>
> <item>this is item 1</item>
> <item>this is item 2</item>
> <item>this is item 3</item>
> </seqlist>
> <seqlist>
> <item>this is item 1</item>
> <item>this is item 2</item>
> <item>this is item 3</item>
> </seqlist>
[snip]
> The outcome should look like.
>
> 1. this is item 1
> 2. this is item 2
> 3. this is item 3
>
> 3.1. this is item 1
> 3.2. this is item 2
> 3.3. this is item 3
>
Are you sure? Wouldn't it continue 4,5,6 (or the second <seqlist>
should be a child of the first)?
Anyway, this is another ideal situation for building the structure you
want in a variable first, and then operating on that (which has been in
many other posts today).
cheers
andrew
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|