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

Re: RE: XSL-List Digest V5 #135

Subject: Re: RE: XSL-List Digest V5 #135
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 20 Feb 2004 23:17:25 GMT
Re:  RE: XSL-List Digest V5 #135

function View6()
{
var pass1 = 'status_history'
transform(pass1)
}



well, there you go then,
you said you wanted to look for an element called status (and you do) but
this is going to make it look for an element called status history
it will find such a thing (because of the original *, not the */* that's
looking for status grand children) and then it will sort on the string
value of that which is the concatenation of all the character data in
there, including white space used to indent the status elements
That might not be quite the order you intended...


try that with pass1= 'status'


-- 
http://www.dcarlisle.demon.co.uk/matthew

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


Current Thread

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.