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

Where have I gone wrong?

Subject: Where have I gone wrong?
From: "Mark Wilson" <drmark@xxxxxxxxxxxxxxx>
Date: Wed, 11 Jan 2006 12:36:16 -0500
mark wilson
I am embarressed to ask (blush):
I am building a library catalog for my club. I put each book and an XML sequence like (but simplified)
<List>
<Entry>
<Subject>Some Subjects</Subject>
<Title>Some Title</Title>
</Entry>
.......
</List>
I then did a grouping using XSLT 2.0's new element (Thank you XSLT designers) so that I get a list of all the subjects, but only a singel entry for each. Now I want to create:
<List>
<Subject>First Subject
<Title> First title associated with this subject</Title>
<Title> Next title associated with this subject</Title>
</Subject>
.....
</List>
More to the point, I want to collect all of the sibling nodes from an entry with all of the sibling nodes from other entries that share the same subject. I have really looked and just failed to understand what I am looking at.
Thanks,
I can give you the actual stylesheet I wrote if that would help. Although I can output the expected single copy of each subject element in order, I cannot seem to organize the associated sibling nodes to make a subject catalog of the books with all the titles associated with a subject collected under that subject.
Mark


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.