当前位置:K88软件开发文章中心编程语言XmlDOM01 → 文章内容

XML DOM – DocumentType 对象

减小字体 增大字体 作者:佚名  来源:网上搜集  发布时间:2019-1-13 10:55:27

XML DOM - DocumentType 对象DocumentType 对象每个文档都包含一个 DOCTYPE 属性,该属性值可以是一个空值或是一个 DocumentType 对象。DocumentType 对象提供了一个接口,用于定义 XML 文档的实体。DocumentType 对象属性属性描述entities返回包含有在 DTD 中所声明的实体的 NamedNodeMap。internalSubset以字符串形式返回内部 DTD。name返回 DTD 的名称。notations返回包含 DTD 声明的符号的 NamedNodeMap。systemId返回外部 DTD 的系统标识符。

XML DOM – DocumentType 对象