Hello,
I have am new to Javascript(Dojo) and I need to create a JSON Array from XML data coming back from an AJAX call.
I do not know what to do after parsing the incoming data and assigning it to an XMLDOC var:
var XMLDOC = dojox.xml.DomParse.parse(data);
I am trying to keep from having to write a complicated function to convert the XML file to a JSON Array.
I am hoping that there is a command(s) or servlet that will do what I need. Where servlets are concern I do not know much about them.
I tried to use one and did not understand how to retrieve the data (XMLDOC) into the servlet.
Any help will be appreciated.
Thanks,
getjbb
I have am new to Javascript(Dojo) and I need to create a JSON Array from XML data coming back from an AJAX call.
I do not know what to do after parsing the incoming data and assigning it to an XMLDOC var:
var XMLDOC = dojox.xml.DomParse.parse(data);
I am trying to keep from having to write a complicated function to convert the XML file to a JSON Array.
I am hoping that there is a command(s) or servlet that will do what I need. Where servlets are concern I do not know much about them.
I tried to use one and did not understand how to retrieve the data (XMLDOC) into the servlet.
Any help will be appreciated.
Thanks,
getjbb