Next in thread →
Next in month →
[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="descending";
so as soon as i call this function , the columns will be sorted in
descending 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.
Next in thread →
Next in month →