Allen Woods Report post Posted July 11, 2007 Using VB Script and the dragnode chart. I can get the XML out of the chart and into the MS Parser but haven't a clue how to get to the <dataset> node. Any pointers to a worked example would be much appreciated dim strX, boolLoadOK, strXML 'Response.ContentType="text/xml" 'Response.Write(Request("strXML")) 'Get the XML from the Fusion Charts form... strXML = Request("strXML") 'set up instances of the MS parser set objXML = CreateObject("Microsoft.XMLDOM") set objLst = CreateObject("Microsoft.XMLDOM") objXML.async = false objLst.async = false 'Now read the Fusion Chart data into the xml parser instance objXML.LoadXML("strXML") if objXML.parseError.errorcode<>0 then 'error handling code else 'It all works to here. Now I try to select a single node, and then write the node text attribute to the page Set Node = objXML.documentElement.selectSingleNode("dataset") request.write(Node.text) ' And nothing happens...... end if set objXML = Nothing set objLst = Nothing %> Share this post Link to post Share on other sites
Pallav Report post Posted July 16, 2007 Try traversing the entire tree using DOM once and see if it's able to access the elements. Share this post Link to post Share on other sites