Mr. Carlisle, Mr. Kay,
Yes, this is a standard grouping problem, and yes, the Muenchian method
described at the resource you provided works perfectly. Thank you for
pointing me in the right direction.
Perhaps if I had known to search for keyword "grouping" instead of
non-specific stuff like "sort +child" I would have found the information
in the archive, without taking your time. I chalk it up to ignorance,
but I've learned something new.
Mr. Carlisle,
Thank you for the pointer re. the obsolescence of xsl 1.1. I will take
this into consideration and research which of recommendations 1.0 or 2.0
best suit the needs of my organization.
Thanks again to both of you. Sincerely,
Brian Huntington
Web Developer
AGU
------------------------------
Date: Wed, 14 Sep 2005 15:54:35 +0100
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
From: David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
Subject: Re: [xsl] Sorted headers of multiple occurance child nodes
Message-Id:
<200509141454(_dot_)PAA16286(_at_)penguin(_dot_)nag(_dot_)co(_dot_)uk>
>> Using Saxon 6.5.2 to process XSLT 1.1
beware that xsl 1.1 was a working draft that was killed off, there never
will be an xsl 1.1.
Your problem looks like a grouping problem as described in lots of
places but we usually sent people here:
http://www.jenitennison.com/xslt/grouping
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
------------------------------
Date: Wed, 14 Sep 2005 16:11:21 +0100
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
From: "Michael Kay" <mike(_at_)saxonica(_dot_)com>
Subject: RE: [xsl] Sorted headers of multiple occurance child nodes
This looks like a standard grouping problem: use Muenchian grouping as per
http://www.jenitennison.com/xslt/grouping
Michael Kay
http://www.saxonica.com/
>> -----Original Message-----
>> From: Brian Huntington [mailto:bhuntington(_at_)agu(_dot_)org]
>> Sent: 14 September 2005 15:20
>> To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
>> Subject: [xsl] Sorted headers of multiple occurance child nodes
>>
>> Using Saxon 6.5.2 to process XSLT 1.1
>>
>> I would like to write sorted headers of /record/node values
>> whose values may occur more than once in a document.
--~------------------------------------------------------------------
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>
--~--