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 Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

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