S
sharan
Using the expat parser (http://expat.sourceforge.net/) i have to parse
the following xml file and print it on the screen in tabular
format. Want a c program on that in Linux environment.
xml file is:
<?xml version="1.0"?>
<users>
<user id="1">
<name> Hari Oum </name>
<age> 24 </age>
<department> Product Development </department>
</user>
<user id="2">
<name> Sandeep </name>
<age> 23 </age>
<department> VoiceXML Applications </department>
</user>
<user id="3">
<name> Jeganathan </name>
<age> 24 </age>
<department> Java Applications </department>
</user>
</users>
Output should look like:
USER ID NAME
AGE DEPT
1 Hari Oum
24 Product Development
2 Sandeep
23 VoiceXML Applications
3 Jeganathan
24 Java Applications
the following xml file and print it on the screen in tabular
format. Want a c program on that in Linux environment.
xml file is:
<?xml version="1.0"?>
<users>
<user id="1">
<name> Hari Oum </name>
<age> 24 </age>
<department> Product Development </department>
</user>
<user id="2">
<name> Sandeep </name>
<age> 23 </age>
<department> VoiceXML Applications </department>
</user>
<user id="3">
<name> Jeganathan </name>
<age> 24 </age>
<department> Java Applications </department>
</user>
</users>
Output should look like:
USER ID NAME
AGE DEPT
1 Hari Oum
24 Product Development
2 Sandeep
23 VoiceXML Applications
3 Jeganathan
24 Java Applications