[olug] [OT]: C & XML
Ed Pluta
epluta3 at cox.net
Wed Nov 7 17:37:52 UTC 2012
What are you using to parse the XML (I like expat)?. Are you looking to
update the xml file in place or read it in, update, and write another file
out, or just parse it and update in memory?
Ed
-----Original Message-----
From: olug-bounces at olug.org [mailto:olug-bounces at olug.org] On Behalf Of Chad
Homan
Sent: Wednesday, November 07, 2012 11:03 AM
To: Omaha Linux User Group
Subject: [olug] [OT]: C & XML
looking for a pointer or assistance with a C and XML issue.
please contact me off-list
But to start the wheels turning, Ihave a section of an XML file that I need
to update in C I really don't want to explain the C part, but it is a
requirement. Here is my sample xml:
<xmldoc>
<data>
<data1 name = "jump" />
<data2 name = "plane" />
</data>
OTHER STUFF
</xmldoc>
needs to update to:
<xmldoc>
<data>
<data1 name = "leap" />
<data1 name = "frog" />
<data2 name = "bus" />
<data2 name = "plane" />
<data2 name = "car" />
</data>
OTHER STUFF
</xmldoc>
Together We Win!
--
Chad
Creating A More Meaningful Life
_______________________________________________
OLUG mailing list
OLUG at olug.org
https://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list