In my jsp i have written java code which gives me xml in string variable
code: szxml=objLSXML.getXMLString();
and i am assigning that string value to a hidden variable in jsp using scriptlet.
But, when i assign this hidden variable to javascript variable then it does not give me xml.
code: var mrootXML=objDoc.rootXML.value;
If i debug it gives me mrootXML value as "xml version=".(in this output before xml i have less than and question mark characters)
I am doing this on Google chrome(version : 36). Also, i want it to run on other browsers too. Please help i am stuck.
No comments:
Post a Comment