Synopsis
The Document
interface includes a single attribute, docType
, that points either to a
description of the DTD for the current document or to null
if none exists.
Java example
// get document type information
DocumentType dtDoc = doc.getDoctype( );
Attributes
The DocumentType
object
contains the following attributes: