Hello Alfredo:
Here's how you can get the name of the DTD, that is, the name immediately
following the DOCTYPE keyword in an XML source document:
DOMString GetDoctypeName( const DOM_Document& doc )
{
DOM_DocumentType doctype = doc.getDoctype();
if( doctype.isNull() )
return ""; // oops, no document type declaration
return doctype.getName();
}
In other words, the answer is to get a DOM_DocumentType object from your
DOM_Document and query its getName() method.
Sorry, the second part of your question has me stumped. I look forward to
hearing from others more versed than I.
Hope this helps,
-Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]