Re: [xml] Parsing a DTD



On Sun, 2004-02-01 at 04:32, Kaarle Kaila wrote:
hi,

I am creating an xml file as a backup of my database and now I have been
trying to add
the DTD into the xml-file. For that purpose I try to read teh dtd using the
command below:

 xmlDtdPtr dtd = xmlParseDTD(NULL,(const xmlChar*)"genealog.dtd");


It's not immediately obvious what your error is, but given what it sound
as though you're trying to do, you might want to try xmlCreateIntSubset:

http://www.xmlsoft.org/html/libxml-tree.html#xmlCreateIntSubset

Cheers,
John






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