﻿<?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 Free / FusionCharts Free and PHP   / getXML() not returning xml / 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>Tue, 02 Dec 2008 06:40:13 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: getXML() not returning xml</title><link>http://www.fusioncharts.com/forum/Topic6110-43-1.aspx</link><description>Hi Mac,&lt;BR&gt;  Could you please try this code?&lt;/P&gt;&lt;P&gt;echo "&amp;lt;textarea rows='10' cols='50'&amp;gt;$xml&amp;lt;/textarea&amp;gt;";</description><pubDate>Wed, 07 May 2008 00:08:08 GMT</pubDate><dc:creator>Arindam</dc:creator></item><item><title>RE: getXML() not returning xml</title><link>http://www.fusioncharts.com/forum/Topic6110-43-1.aspx</link><description>I read something about debug mode being required for getXML to work. Is this correct? I've searched the documentation for the FusionCharts Free but can't seem to find how to enable debug mode for my charts.</description><pubDate>Tue, 06 May 2008 10:59:07 GMT</pubDate><dc:creator>Mac</dc:creator></item><item><title>getXML() not returning xml</title><link>http://www.fusioncharts.com/forum/Topic6110-43-1.aspx</link><description>I can't seem to get $FC-&gt;getXML(); to work properly. I have a chart that is being rendered fine and is receiving the xml data properly, and I can see the xml data string in my javascript but in my php code I cannot seem to store the xml data. Is there something I'm doing wrong?&lt;br&gt;&lt;br&gt;Here's what I'm trying to do in the php file after i've set all chart params and created the instance of the chart:&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&lt;br&gt;# Create Line chart Object&lt;br&gt;$FC = new FusionCharts("MSLine","600","400");&lt;br&gt;&lt;br&gt;# set the relative path of the swf file&lt;br&gt;$FC-&gt;setSWFPath("./dl/chart/FusionCharts/");&lt;br&gt;&lt;br&gt;# (skipping addition of param setting code and addition of data, it's working as the chart renders)&lt;br&gt;&lt;br&gt;$xml = $FC-&gt;getXML();&lt;br&gt;    &lt;br&gt;# Render Chart&lt;br&gt;$FC-&gt;renderChart();&lt;br&gt;    &lt;br&gt;echo "xml : " . $xml;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;The problem is I can't see my $xml variable that I wish to echo with the php file. Is there something I'm not doing write in my call to getXML(); ?</description><pubDate>Tue, 06 May 2008 10:48:40 GMT</pubDate><dc:creator>Mac</dc:creator></item></channel></rss>