PDA

View Full Version : Writing data to xml...



ubergeek
08 Mar 2007, 02:04 PM
This is kind of confusing let me show you..

- <Pie title="How often do you brush your teath?">
<Data title="Twice a day" value="358" pullOut="true" />
<Data title="Once a day" value="241" pullOut="false" />
<Data title="Once a week" value="58" pullOut="false" />
<Data title="Never" value="120" pullOut="false" />
<Data title="After every meal" value="50" />
</Pie>

So I have this xml file and a form, when the form is completed and someone enters "Twice a Day" I want the form to post a +1 value for that data block. So the value would change to "359" is this possible? Can I do that with XML?