[xml] adding DTD to document without parsing from file



hi,

i want to associate a DTD with a document I'm creating in memory (and
then dumping to disk) but all of the information i have found about this
use xmlParseDtd to get a xmlDtdPtr to associate with the document.  My
DTD does not exist as a external file it is hard coded in my app as a
const char[].  Is there a way to parse this so I can add it to my
document?

Scott






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]