This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Grouping
- From: Maarten Meussen <m_meussen at yahoo dot com>
- To: XSL-List at lists dot mulberrytech dot com
- Date: Mon, 21 Jan 2002 06:29:43 -0800 (PST)
- Subject: [xsl] Grouping
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi there,
Ive been working on an XML/XSL project for school, but
I've been stuck on the next problem for a few days
now, eventhough the answer must be real simple ( I
think), I cant figure it out. I've read much about
groups quite similair to mine but nothing that could
really help me :/
I would like to sort my XML using XSL to have an
output similair to this
<p>
<b><Order></b>
<p>
<b><1st family in order</b>
<b> Name </b>
...
<b><2nd family in order</b>
...
<b><Order2></b>
...
Here's a snippet from the XML file :
<products>
<order>
<orde_lat>Coleoptera</orde_lat>
<fam>
<fam_lat>Buprestidae</fam_lat>
<product>
<prd_id>91</prd_id>
<prd_naam>Catoxantha opulenta</prd_naam>
</fam>
...
more fams and orders..
Ive tried grouping using the Muenchian Method, it
sorts by oder fine, but messes up when I try to sort
by family..
Please help, cause I really ran out of idea's how to
solve this.
Regards,
Maarten
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list