Re: [xml] Newbie question
- From: Mark Vakoc <thevakoc-xml yahoo com>
- To: xml gnome org
- Subject: Re: [xml] Newbie question
- Date: Tue, 17 Aug 2004 09:44:54 -0700 (PDT)
--- Gustavo Amador Rios <garios mexico com> wrote:
Just for reference here is a snippet:
documentoXML = xmlNewDoc((const xmlChar *)XML_HEADER);
rootXML = xmlNewDocNode(documentoXML, NULL,REG_ELEM_DISPOSITIVOS, NULL);
use xmlNewChild((xmlNodePtr)documentoXML,NULL,REG_ELEM_DISPOSITIVOS, NULL)
instead. xmlNewDocNode() doesn't add the node as a child the document node.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]