It was suggested that I resubmit my question with a more specific subject
line.
I am building a library catalog for my club. I put each book's description
in an XML sequence like (but simplified)
<List>
<Entry>
<Subject>Some Subjects</Subject>
<Title>Some Title</Title>
<Publisher>Some Publisher</Publisher>
</Entry>
.......
</List>
Using Saxon 8, I then did a grouping using XSLT 2.0's new grouping element
so that I get a list of all the subjects, but only a single entry for each.
Now I want to create:
<List>
<Subject>First Subject
<Title> First title associated with this subject</Title>
<Publisher>Publisher associated with this title</Publisher>
<Title> Next title associated with this subject</Title>
<Publisher>Publisher associated with this title</Publisher>
</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
value. I have really looked and just failed to understand what I am looking
at. The examples appear to show how to collect attributes, but not how to
collect sibling nodes. My attemps have all failed.
Thanks,
Mark
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--