[Home] [By Thread] [By Date] [Recent Entries]
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.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



