Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Implementing a given XML DTD in C with libxml2

Reply
Thread Tools

Implementing a given XML DTD in C with libxml2

 
 
Ale Vesely
Guest
Posts: n/a
 
      03-21-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Implementing a DTD-based XML validator Tom Anderson XML 1 06-03-2009 09:55 PM
XML file from one DTD to another DTD test Java 2 07-28-2006 08:48 PM
How to specify DTD to DTD.getDTD for DocumentParser? Ronald Fischer Java 4 03-17-2005 09:37 AM
Removing the dtd name when using print(...) on the dtd generated class Joseph Tilian Java 0 12-21-2004 02:58 PM
Including a dtd into another dtd... possible? Asfand Yar Qazi XML 1 09-19-2003 12:10 PM



Advertisments