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

RE: Troubleshooting a sort

Subject: RE: Troubleshooting a sort
From: "Grant, Kathryn --- Sr. Technical Writer --- WGO" <Kathryn.Grant@xxxxxxxxxxxxxxxxx>
Date: Wed, 25 Feb 2004 15:12:48 -0800
 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


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.