[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
[xml-dev] javascript to acces xsl:sort
- From: "S.Kannan" <techy_kans@yahoo.co.in>
- To: xml-dev@lists.xml.org
- Date: Tue, 19 Feb 2008 22:56:14 -0800 (PST)
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]