Programmer's Guide > Interfaces > ADocumentType interface > doctypeName attribute
  
doctypeName attribute
If there is an associated DTD or Schema file then this is the basename of that file. For example, if the associated DTD is axdocbook.dtd, then this attribute would be "axdocbook".
For a freeform document, this is the local name of the root element.
If the document was structured but the DTD or Schema was not available then this will be the same as the DocumentType.name attribute.
If the document was opened as non-structured then this will be "ascii".
doctypeName
Access
read-only
Returns
String