xsl-list
[Top] [All Lists]

Re: generic sort based on attribute names

2005-01-23 03:26:54
Tempore 11:19:45, die 01/23/2005 AD, hinc in xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit Chaitanya Desai <cdesai(_at_)syncata(_dot_)com>:

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--