Re: [xml] Inserting a DTD when creating a XML file



On Fri, Jan 25, 2002 at 08:27:32AM -0700, Greg Sjaardema wrote:
  // Define and insert the root of the output document
  root = dtd->next = xmlNewDocNode(doc, NULL, root_name, NULL);

  hum, bad you're missing the update of a number of pointers.
Use the code I posted instead !

Daniel


-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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