when i write this kind of code it is asserting at rootElem.appendChild
(prodATrr), can anyone say why?
DOM_Document doc1 = DOM_Document::createDocument ();
DOM_Element rootElem = doc1.createElement ("root");
doc1.appendChild (rootElem);
doc1.insertBefore (soc1, rootElem);
DOM_Node text = doc1.createCDATASection ("vinod");
rootElem.appendChild (text);
DOM_Element prodElem = doc1.createElement("product");
rootElem.appendChild(prodElem);
DOM_Attr prodATrr = doc1.createAttribute("Attr");
prodATrr.setValue ("Value");
rootElem.appendChild (prodATrr);
regrds
Vinod
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]