From: Kenneth Pronovici (pronovic@skyjammer.com)
Date: Thu Aug 24 2000 - 14:04:41 EDT
Daniel -
> Notice the DTD element, that's what missing when you build your
> document, just create it and it should work without change to libxml.
> Just call:
>
> xmlDtdPtr xmlCreateIntSubset (xmlDocPtr doc,
> const xmlChar *name,
> const xmlChar *ExternalID,
> const xmlChar *SystemID);
>
> and it will create the missing node.
> Should be simpler for you and for me :-)
Thanks. It looks like that does what I want. I didn't realize that
xmlCreateIntSubset() would insert the DOCTYPE node into my structure,
and that seems to have been my problem. I appreciate the help.
KEN
-- Kenneth J. Pronovici <pronovic@ieee.org> Alliance of Computer Professionals (http://www.acpros.com/) Personal Homepage: http://www.skyjammer.com/~pronovic/ Home: 763.546.0140, NWA: 612.726.0842 "Hell hath no fury like the weather when I'm camping..."---- Message from the list xml@xmlsoft.org Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@xmlsoft.org
This archive was generated by hypermail 2b29 : Thu Aug 24 2000 - 11:43:26 EDT