Latest web development tutorials

XML DOM - objek DocumentType

benda DocumentType

Setiap dokumen berisi DOCTYPE sebuah nilai atribut yang dapat menjadi nol atau benda DocumentType.

DocumentType objek menyediakan sebuah antarmuka untuk suatu entitas untuk menentukan dokumen XML.

properti obyek DocumentType

属性 描述
entities 返回包含有在 DTD 中所声明的实体的 NamedNodeMap。
internalSubset 以字符串形式返回内部 DTD。
name 返回 DTD 的名称。
notations 返回包含 DTD 声明的符号的 NamedNodeMap。
systemId 返回外部 DTD 的系统标识符。