the game XML format looks like this
Code: Select all
< ?xml version='1.0' encoding='ISO-8859-1'?>
< factorystats version='1.1' copyright='(C) Playnet Inc 2007, All rights reserved.'>
< generated date='2008-11-17 08:26:36' timestamp='1226931996'/>
< description>Campaign factory production stats
< factory id="70" from="1225582940" to="1226932940" ticks="1501" produced="1501"/>
< /factorystats>
but the fusioncharts format has to be this
Code: Select all
< graph caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' showNames='1' decimalPrecision='0' formatNumberScale='0'>
< set name='Jan' value='462' color='AFD8F8' />
< /graph>
there has to be a program or code out there that can go out, take certain data from an xml file and plug it into a certain format, right?
any suggestions?