[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: generic sort based on attribute names
what about XSLT 2.0 ? Any handy features ? thanks -----Original Message----- From: Joris Gillis [mailto:roac@xxxxxxxxxx] Sent: Sun 1/23/2005 2:26 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: generic sort based on attribute names Tempore 11:19:45, die 01/23/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Chaitanya Desai <cdesai@xxxxxxxxxxx>: > thanks for the response. But the collective string lengths are not the > same. I feared so... > In fact I just gave an example here. I have no a priori knowledge of > what the XML looks like. All I know is that the 'concatenated name-value > pairs for all attributes sorted' needs to be the key for sorting. I don't see any universally working solution in pure XSLT1.0 at the moment. Is it allowed to use extension functions? An 'xx:node-set()' function can be put to use here to let it work... regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Deserta faciunt et innovationem appelant
|
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
|