[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Ordering Output

Subject: RE: Ordering Output
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Mon, 16 Mar 1998 16:58:37 -0800
ordering output in xsl output
Currently, there is no easy ability to sort in the MSXSL technology preview.
This is an area that we are especially interested in, although the Working
Group has not taken up this subject yet.  I hope that XSL will include a
simple sorting mechanism by the time we're finished.

Right now, you could get the behavior only by escaping to script, using the
XML Object Model to walk the tree, and writing your own sorting function,
then inserting the result as text (including tags).  This is a pretty gross
hack, but it may allow you to continue with your exploration of XSL.  I have
used this to work around many of the missing features of MSXSL.

Jonathan Marsh
phone   425.703.4591
 <mailto:jmarsh@xxxxxxxxxxxxx> jmarsh@xxxxxxxxxxxxx



		-----Original Message-----
		From:	Craig Gingell [mailto:cgingell@xxxxxxxxxxx]
		Sent:	Friday, March 13, 1998 8:56 AM
		To:	'xsl-list@xxxxxxxxxxxxxxxx'
		Subject:	Ordering Output

		I am using Microsoft's MSXSL processor, to generate an HTML
table of
		information.

		My question is, is it possible to sort the order that items
in the XML
		file are processed ?

		<STAFF>
		 <PERSON>
		  <NAME>Craig</NAME>
		  <EXTENSION>2049</EXTENSION>
		 </PERSON>
		 <PERSON>
		  <NAME>Arthur</NAME>
		  <EXTENSION>2050</EXTENSION>
		 </PERSON>
		 <PERSON>
		  <NAME>Brian</NAME>
		  <EXTENSION>2051</EXTENSION>
		 </PERSON>
		</STAFF>

		I want the table to list Arthur, Brian, and then Craig in
that order

		what should I place in the rule for <STAFF>, so that the
<PERSON>
		elements, are processed in the order of the <NAME> element ?

		Thanks in advance

		Craig


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


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


Current Thread
  • Ordering Output
    • Craig Gingell - Sun, 15 Mar 1998 01:20:05 -0500 (EST)
      • <Possible follow-ups>
      • Jonathan Marsh - Mon, 16 Mar 1998 20:00:09 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.