Hello ,
I have created a Document as shown in this code,

DOM_DOMImplementation impl;
DOM_Document doc = impl.CreateDocument ( 0, "company", NULL);

but later i wanted to insert a DOCTYPE Node in the doc, so i tried some code
like this,

DOM_DocumentType docType = impl.createDocumentType ("MA", "MA", "ma");

doc.appendChild (docType);

But this code asserts and the Program terminates, what is the problem, can
anyone throw some light on this, is any other way to insert docType after
the document is created, as this feature is required in my project.

Please do Reply
Rgrds
VINOD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to