This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Put a wrapper around a series of elements
- To: XSL-List at mulberrytech dot com
- Subject: Put a wrapper around a series of elements
- From: Hal Stanley <halstanley2000 at yahoo dot com>
- Date: Wed, 8 Nov 2000 22:33:49 -0800 (PST)
- Reply-To: xsl-list at mulberrytech dot com
This seems like it should be easy but I'm stumped. I
tried FAQ, books. . .
Have
<a>
<b>some text</b>
<b>some more text</b>
<b>some other text</b>
<b>some last text</b>
<c>some c text</c>
</a>
Want
<a>
<bset>
<b>some text</b>
<b>some more text</b>
<b>some other text</b>
<b>some last text</b>
</bset>
<c>some c text</c>
</a>
I successfully tested for the first and last <b>, but
couldn't output unmatched elements. . .
Is there a better way?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list