Subject: RE: [xsl] generic sort based on attribute names From: "Chaitanya Desai" <cdesai@xxxxxxxxxxx> Date: Mon, 24 Jan 2005 16:45:12 -0800 |
Can u please explain how the node-set function could help in this context? Thanks -----Original Message----- From: Joris Gillis [mailto:roac@xxxxxxxxxx] Sent: Sunday, January 23, 2005 2:27 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] generic sort based on att, Chaitanya Desai | Thread | Re: [xsl] generic sort based on att, Joris Gillis |
[xsl] How to return a result for ju, Kevin Rodgers | Date | Re: [xsl] XSL for 2 columns- Format, omprakash . v |
Month |