Re: [xml] self-defined namespace nodes

2008-09-10 Thread Roopesh Chander
Thanks, Martin. This works perfectly: xmlNode* rootelem = xmlNewNode(NULL, (xmlChar *) "html"); xmlNs* hNs = xmlNewNs(rootelem, (xmlChar *) "http://www.w3.org/1999/xhtml";, (xmlChar *) "h"); rootelem->ns = hNs; roop. On Monday 08 September 2008 04:40 AM, Martin (gzl

[xml] embedded comments in DTD

2008-09-10 Thread miles mccoo
Hi, I'm trying to parse an XML file with an associated DTD file. I get an error that looks like this: parser error : ContentDecl : Name or '(' expected instances_chop*, group, more stuff looking in the code, the problem ap