ok heres the story,
I have xml/xsl items stored on my web server, and they need to be displayed to the client when the user clicks on the corresponding button on the web page,
so it would work something like this
user clicks the button that calls this javascript function,
that function then calls a function on the server via remote scripting
which looks like this,
I then need the setTree function to return the output to display tree
so that I can display it to the client.
this sorta works as of now, temp get set to [object Object] and that is whats displayed, however I need it to display the correct html result from the XSL transformation....does anyone know how I could get this to work???
Thanks
Select
I have xml/xsl items stored on my web server, and they need to be displayed to the client when the user clicks on the corresponding button on the web page,
so it would work something like this
user clicks the button that calls this javascript function,
Code:
function displayTree(){
temp = RSExecute("/javascripts/adoconn3.asp","setTree");
folderTree.innerHTML =temp
}
that function then calls a function on the server via remote scripting
which looks like this,
Code:
public function setTree()
Set oProcessor3 = Application("xsl-tree-Template").createProcessor()
oProcessor3.input = Application("xml-tree")
oProcessor3.Transform
sResult3 = oProcessor3.output
setTree=sResult3
end function
I then need the setTree function to return the output to display tree
so that I can display it to the client.
this sorta works as of now, temp get set to [object Object] and that is whats displayed, however I need it to display the correct html result from the XSL transformation....does anyone know how I could get this to work???
Thanks
Select