[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Put a wrapper around a series of elements

Subject: Put a wrapper around a series of elements
From: Hal Stanley <halstanley2000@xxxxxxxxx>
Date: Wed, 8 Nov 2000 22:33:49 -0800 (PST)
hal stanley
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.