Question

2004-07-21 Thread Baccar MEDDEB
Hi; I have the following snippet: void myClass::foo1(DOMElement* elt) { DOMNode* importedNode = domEl->getOwnerDocument()->importNode(..); // my importedNode is OK (when look to childs node) (DOMNode*)elt = importedNode; // my elt is OK ((when look to childs node, I get them correctly) DOMNode

Question

2004-07-21 Thread Baccar MEDDEB
Hi; I have the following snippet: void myClass::foo1(DOMElement* elt) { DOMNode* importedNode = domEl->getOwnerDocument()->importNode(..); // my importedNode is OK (when look to childs node) (DOMNode*)elt = importedNode; // my elt is OK ((when look to childs node, I get them correctly) DOMNode

XML Header v2.4

2004-07-27 Thread Baccar MEDDEB
Hi; I'd like to export a file to xml format, I have used the following call to write the file header (with xerces 1.7): DOM_XMLDecl xmlDecl = doc.createXMLDecl( "1.0", format.GrabCString(), "yes" ); doc.appendChild( xmlDecl ); How can I did the equivalent with xerces 2.4