XML DOM - DocumentType objects
DocumentType objects
Each document contains a DOCTYPE attribute that value can be a null or a DocumentType object.
DocumentType object provides an interface for an entity to define XML documents.
DocumentType object properties
属性 | 描述 |
---|---|
entities | 返回包含有在 DTD 中所声明的实体的 NamedNodeMap。 |
internalSubset | 以字符串形式返回内部 DTD。 |
name | 返回 DTD 的名称。 |
notations | 返回包含 DTD 声明的符号的 NamedNodeMap。 |
systemId | 返回外部 DTD 的系统标识符。 |