← Prev in month ← Prev in thread

[xml-dev] javascript to acces xsl:sort

From
S.Kannan <>
To
Date
2008-02-20T06:56:14Z
ID
<>
Thread
[xml-dev] javascript to acces xsl:sort
Hi all

Is it possible for javascript to dynamically set the value for xsl:sort
which is in the xsl document..

say for example i have a href link in my xsl  sheet which does sorting.

so when i click on the href i need to call a javascript which would
dynamically change the value of the
xsl:sort


<xsl:sort select="Location" order="ascending"> // where Location is the tag
name <Location> in xml

something like 

var mySort = document.getElementsByTagName("<xsl:sort>");
mySort.order.value="ascending";

so as soon as i call this function , the columns will be  sorted in
ascending order..

Please guide me
-- 
View this message in context: http://www.nabble.com/javascript-to-acces-xsl%3Asort-tp15583452p15583452.html
Sent from the Xml.org Dev mailing list archive at Nabble.com.
← Prev in month ← Prev in thread