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

?simple position grouping problem

Subject: ?simple position grouping problem
From: "davidpbrown" <lists@xxxxxxxxxxxxxxxxx>
Date: Sat, 3 Jul 2004 08:51:34 +0100
position grouping
I think must be simple, but I'm struggling..

<x>
<y id="1"/>
  <b id="1"/>
  <b id="2"/>
<y id="2"/>
  <b id="3"/>
<y id="3"/>
  <b id="4"/>
  <b id="5"/>
  <b id="6"/>
</x>

how do I select only <b>'s that follow particular <y>'s; to then create

<x>
<y id="1"><b id="1"/><b id="2"/></y>
<y id="2"><b id="3"/></y>
<y id="3"><b id="4"/><b id="5"/><b id="6"/></y>
</x>

There's no known relationship between the elements but for their position.
using XSLT 2.0.

Thanks and regards
davidpbrown


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.