I am trying to some experiment on integrating XML an ASP. What I wanted to achieve is loading the XML at the server side and binding data at client side so that all the sorting and filtering job can be done faster as the xml document is cached locally.
So far, load the xml at the server side and transfer the HTML code back to browser is not difficult at all, all I have to do is :
:
set objXML = server.createobject("microsoft.xmldom"
objXML.async = false
objXML.load("test1.xml"
set objXSL = server.createobject("microsoft.xmldom"
objXSL.async = false
objXSL.load("test1.xsl"
Response.Write(objXML.transforNode(objXSL))
:
The above code works perfectly well.
However,
How can I grab hold the data locally at the client side and implement sorting and filtering ?
Or, is it not possible ???
Or, there is another way to do the loading in the first place ?
Thank you
So far, load the xml at the server side and transfer the HTML code back to browser is not difficult at all, all I have to do is :
:
set objXML = server.createobject("microsoft.xmldom"
objXML.async = false
objXML.load("test1.xml"
set objXSL = server.createobject("microsoft.xmldom"
objXSL.async = false
objXSL.load("test1.xsl"
Response.Write(objXML.transforNode(objXSL))
:
The above code works perfectly well.
However,
How can I grab hold the data locally at the client side and implement sorting and filtering ?
Or, is it not possible ???
Or, there is another way to do the loading in the first place ?
Thank you