[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

How to reorder tree by member

Subject: How to reorder tree by member
From: "Andy Wilcock" <andrew_wilcock@xxxxxxxxxxx>
Date: Thu, 11 Mar 1999 08:21:42 -0800

I'm a little new to some of the finer intricacies of XSL, and am trying to
take in the following XML information, and output it in a list, ordered by
GROUP, but so that the
GROUP name is mentioned once.

I had thought it would be a simple case of either uniquely sorting the group
text, or  using first-of-type() in some way, but I just can't seem to get
the voodoo right, or find a good example [BTW, I'm using the LotusXSL parser
if that helps]. I guess I may be easier to do it as an IDREF for the groups,
but I'm really after a solution that works with the information like this,
if one is possible.



			<NAME>John Doe</NAME>
			<NAME>Steve Smith</NAME>
			<NAME>Jane Smith</NAME>
			<NAME>A. N. Other</NAME>

		John Doe
		Steve Smith
		Jane Smith
		A. N. Other

Andy Wilcock   Mentor Graphics Cabling Products - ViewWare Engineering
  andrew_wilcock@xxxxxxxxxxx  Phone: +1(503) 685-7862  Fax: 685-7991

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread