Synopsis
This is the name of the DTD, which is the XML name following
the XML DOCTYPE keyword in the source document. Read-only.
Java binding
public String getName( );
Java example
// Display document type information
DocumentType dtDoc = doc.getDoctype( );
System.out.println("This is a " + dtDoc.getName( ) + " document.");