[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Troubleshooting a sort
David, Our email filter stole the digest containing your reply (sometimes happens with emails containing script). I just got it released yesterday. I thought I *did* try "status" instead of "status_history" and it didn't work. BUT I went back and tried it again after getting your email. I'm both embarrassed and grateful to report that it worked perfectly! (Maybe it was a refresh problem before :) ) Anyway, THANK YOU (and everyone else who contributed). Once again, this list is awesome. Kathryn ------------------------------ Date: Fri, 20 Feb 2004 23:17:25 GMT From: David Carlisle <davidc@xxxxxxxxx> Subject: 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 ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** 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
|