|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Ordering 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
|
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








