Subject: [xsl] RE: Troubleshooting a sort From: "Grant, Kathryn --- Sr. Technical Writer --- WGO" <Kathryn.Grant@xxxxxxxxxxxxxxxxx> Date: Wed, 25 Feb 2004 15:12:48 -0800 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] RE: Troubleshooting a sor, David Carlisle | Thread | [xsl] XSL Transformation Question, Eric Fleming |
RE: [xsl] Translating XSD into an X, Daniel Bryant | Date | Re: [xsl] Translating XSD into an X, Robert Koberg |
Month |