Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash MX Charting components and XML help plz!!

Status
Not open for further replies.

samba2

MIS
Sep 30, 2002
3
US
I am trying to get the flash graphing components to link up with my xml file. In this situation it would be impossible to use any type 3rd party server side app ex PHP or ASP due to lack of network enviroment.

Right now I have a small vb app which converts csv to simple xml

Now my question is how do I get this XML output to be readable with the flash graphing components. Macromedia makes this easy with Cold Fusion but come on it doesn't fit every application. I've looked at a couple of white space strippers but nothing that seems to work or fit the situation. Any help stearing me in the right direction would be perfect. Thanks in advance!!!

example of XML output
Code:
<parts>
<part>
<flow>123</flow>
<pressure>29.1</pressure>
<temp>500</temp>
<RPM>60000</RPM>
</part>
<part>
<flow>124</flow>
<pressure>30</pressure>
<temp>500</temp>
<RPM>59997</RPM>
</part>
<part>
<flow>125</flow>
<pressure>454</pressure>
<temp>500</temp>
<RPM>59994</RPM>
</part>
</parts>
 
Haven't used the graphing components myself but if your problem is a whitespace issue as you seem to indicate then you should be able to get around it with...

yourXML.ignoreWhite = true;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top