Want help on how we convert output to tabular format 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.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sharan

    Want help on how we convert output to tabular format 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.

    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 using C language. i am getting ouput serially but not in
    tabular
    xml file is:
    <?xml version="1.0"?>
    <users>
    <user id="1">
    <nameHari Oum </name>
    <age24 </age>
    <departmentProd uct Development </department>
    </user>
    <user id="2">
    <nameSandeep </name>
    <age23 </age>
    <departmentVoic eXML Applications </department>
    </user>
    <user id="3">
    <nameJeganath an </name>
    <age24 </age>
    <departmentJa va Applications </department>
    </user>
    </users>
    i am getting output like this :
    Harioum
    24
    Prodoct development
    :
    :
    but 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

  • Joseph Kesselman

    #2
    Re: Want help on how we convert output to tabular format Using the


    Comment

    Working...