I work on a C project and need to implement some interactions with XML files.
I need a very simple example for parsing and for writing an XML file.
I really prefer a small library (like one .h file and one .c file), and not a library that requires installation
I'll be very glad if someone can show me:
- how to parse the data in the following example
- how to generate the data in the following example
XML data:
<root>
<source name = 'source1' isReadOnly = 'false'>
<view name = 'view1' />
<view name = 'view2' />
</source>
<source name = 'source2' isReadOnly = 'true'>
<view name = 'view1' />
<view name = 'view2' />
</source>
</root>
 
No comments:
Post a Comment