|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Sorting - one to many
I am trying to figure out how to do a one to many sort relationship with
xsl. (note - my list will have potentially millions of records with
hundreds of repeating fields)
For example, if I have something like this:
<book>
<title>
A book that is published in 2 countries
</title>
<country>
United States
</country>
<country>
Canada
</country>
</book>
<book>
<title>
A book that is published in 3 countries
</title>
<country>
United States
</country>
<country>
Canada
</country>
<country>
Mexico
</country>
</book>
I would like a sort that would sort by country and then title with results
like this:
Canada
A book that is published in 2 countries
A book that is published in 3 countries
Mexico
A book that is published in 3 countries
United States
A book that is published in 2 countries
A book that is published in 3 countries
Any help would be appreciated.
Thanks,
Corey
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








