This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [XSLT] Hyperlink Sort by Heading


I have done this.Load the XML from any scripting language and then locate
the xsl:sort node and then set the value of the select field to the one you
want.
Using ASP the code could be
dim oXMLDoc
dim oNode
set oXMLDoc=server.createobject("MSXML2.DOMDOCUMENT")
oXMLDoc.load(give the path of your xsl here)
set oNode=oXMLDoc.selectSingleNode("//xsl:sort")
oNode.attributes.getNamedItem("select").text="give the value of the node
according to which you want to sort"

-----Original Message-----
From: Ragan, Mitch [mailto:mitch.ragan@boeing.com]
Sent: Wednesday, March 06, 2002 10:59 AM
To: Xsl-List (E-mail)
Subject: [xsl] [XSLT] Hyperlink Sort by Heading


Is there any way to have a column Heading in an XSLT, when clicked on with
the mouse,  sort that column of data 
then reverse the sort when click on again?






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]