﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / XML Issue  / XML Parser and Fusion Charts / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 02:30:05 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: XML Parser and Fusion Charts</title><link>http://www.fusioncharts.com/forum/Topic1593-29-1.aspx</link><description>Try traversing the entire tree using DOM once and see if it's able to access the elements.</description><pubDate>Mon, 16 Jul 2007 23:06:03 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>XML Parser and Fusion Charts</title><link>http://www.fusioncharts.com/forum/Topic1593-29-1.aspx</link><description>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 &amp;lt;dataset&amp;gt; node.&lt;/P&gt;&lt;P&gt;Any pointers to a worked example would be much appreciated&lt;/P&gt;&lt;P&gt;dim strX, boolLoadOK, strXML&lt;/P&gt;&lt;P&gt;'Response.ContentType="text/xml"&lt;BR&gt;'Response.Write(Request("strXML"))&lt;/P&gt;&lt;P&gt;'Get the XML from the Fusion Charts form...&lt;/P&gt;&lt;P&gt;strXML = Request("strXML")&lt;/P&gt;&lt;P&gt;'set up instances of the MS parser&lt;/P&gt;&lt;P&gt;set objXML = CreateObject("Microsoft.XMLDOM")&lt;BR&gt;set objLst = CreateObject("Microsoft.XMLDOM") &lt;BR&gt;objXML.async = false &lt;BR&gt;objLst.async = false  &lt;BR&gt;&lt;/P&gt;&lt;P&gt;'Now read the Fusion Chart data into the xml parser instance&lt;/P&gt;&lt;P&gt;objXML.LoadXML("strXML")&lt;/P&gt;&lt;P&gt;if objXML.parseError.errorcode&amp;lt;&amp;gt;0 then&lt;/P&gt;&lt;P&gt;  'error handling code&lt;BR&gt;else&lt;/P&gt;&lt;P&gt;'It all works to here.  Now I try to select a single node, and then write the node text attribute to the page&lt;/P&gt;&lt;P&gt;Set Node = objXML.documentElement.selectSingleNode("dataset") &lt;BR&gt;request.write(Node.text)&lt;/P&gt;&lt;P&gt;'  And nothing happens......&lt;/P&gt;&lt;P&gt;&lt;BR&gt;end if&lt;/P&gt;&lt;P&gt;&lt;BR&gt;set objXML = Nothing &lt;BR&gt;set objLst = Nothing &lt;/P&gt;&lt;P&gt;%&amp;gt;</description><pubDate>Wed, 11 Jul 2007 07:02:53 GMT</pubDate><dc:creator>Allen Woods</dc:creator></item></channel></rss>