May 27, 2021 XML DOM
Each document contains a DOCTYPE property, which can be an empty value or a DocumentType object.
The DocumentType object provides an interface to define the entities of the XML document.
属性 | 描述 |
---|---|
entities | 返回包含有在 DTD 中所声明的实体的 NamedNodeMap。 |
internalSubset | 以字符串形式返回内部 DTD。 |
name | 返回 DTD 的名称。 |
notations | 返回包含 DTD 声明的符号的 NamedNodeMap。 |
systemId | 返回外部 DTD 的系统标识符。 |