Implementing a given XML DTD in C with libxml2

Discussion in 'XML' started by Ale Vesely, Mar 21, 2005.

  1. Ale Vesely

    Ale Vesely Guest

    Hi all,
    I'd like to export data from an app using an existing XML format.
    I'm fairly new to such kind of job. I found libxml2 and it looks
    fairly powerful. However, the examples provided there use, say,
    xmlTextWriterWriteElement to create an element without concern
    for what DTD they are implementing.

    What is the best practice for doing that job?

    The xml file produced shouldn't need further validation.
    So, I'd guess that the DTD has to be parsed before generating
    the file. How is that currently being done?

    TIA
    Ale
    Ale Vesely, Mar 21, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joseph Tilian
    Replies:
    0
    Views:
    339
    Joseph Tilian
    Dec 21, 2004
  2. Ronald Fischer
    Replies:
    4
    Views:
    1,743
    Ronald Fischer
    Mar 17, 2005
  3. Adib Taraben
    Replies:
    1
    Views:
    582
    Patrick TJ McPhee
    May 24, 2004
  4. test
    Replies:
    2
    Views:
    1,996
    Oliver Wong
    Jul 28, 2006
  5. Tom Anderson
    Replies:
    1
    Views:
    1,145
    Stanimir Stamenkov
    Jun 3, 2009
Loading...

Share This Page