nitin

Members
  • Content count

    1
  • Joined

  • Last visited

About nitin

  • Rank
    Forum Newbie
  1. I am using one of the sample XML for FusionCharts. If I set the Xml content as a string variable or read it from a text file which has the xml content the FusionChart works fine. But if I read the same text file in XmlDocument or Dataset/XmlTextReader, geneate XML from that object and then set the XML to the chart it does not work. I think the problem is due to extra line breaks (formatted Xml) added by Dataset or XmlDocument. //Works string xmlDataYear = File.ReadAllText(MapPath("../FusionCharts/WeeklyAttendance.txt")); //Does NOT Work DataSet ds = new DataSet(); ds.ReadXml(MapPath("../FusionCharts/WeeklyAttendance.txt")); string xmlDataYear = ds.GetXml();