Click to See Complete Forum and Search --> : How to sort data in front end
srinivas
02-02-2002, 07:17 AM
i am using dataisland in xml files.in xsl we have option called order-by option
which will sort fields.Now i want to sort dynamically i.e when i click on
on table head say userId(name of the table head) then i need to get data
in orde of userid.pls help me in doing this
I recently used the <xsl:sort> which is really convenient. Also, you may
want to load up your XML into a DOMDocument object in JavaScript globally
scoped. This keeps the metadata in cache and lightning fast to resort on
the client. I also dynamically set the attributes on the <xsl:sort> via
DOM and then rerun the transform which allows me to sort on as many criteria
as I like.
Eric
"srinivas" <kcnu1@yahoo.com> wrote:
>
>i am using dataisland in xml files.in xsl we have option called order-by
option
>which will sort fields.Now i want to sort dynamically i.e when i click on
>on table head say userId(name of the table head) then i need to get data
>in orde of userid.pls help me in doing this
devx.com
Copyright Internet.com Inc. All Rights Reserved