文档API
Chrome63
Chrome5
Firefox55
Firefox3.6
Edge18
IE11 仿真IE9、IE10
Microsoft.XMLDOM
implementation
characterSet
UTF-8
null
UTF-8
UTF-8
utf-8
utf-8
charset
UTF-8
undefined
UTF-8
utf-8
utf-8
inputEncoding
UTF-8
null
UTF-8
UTF-8
UTF-8
UTF-8
contentType
text/xml
text/xml
text/xml
application/xml
doctype
null
null
null
null
null
null
null
documentElement
xmlEncoding
null
null
null
xmlVersion
1
1
1
1
xmlStandalone
FALSE
FALSE
FALSE
FALSE
children
firstElementChild
lastElementChild
childElementCount
1
1
1
rootElement
null
null
null
null
getElementsByTagName
getElementsByTagNameNS
createExpression
createNSResolver
evaluate
nodeType
9
9
9
9
9
9
9
nodeName
#document
#document
#document
#document
#document
#document
#document
ownerDocument
null
null
null
null
null
null
null
parentNode
null
null
null
null
null
null
null
parentElement
null
null
null
null
childNodes
firstChild
lastChild
previousSibling
null
null
null
null
null
null
null
nextSibling
null
null
null
null
null
null
null
nodeValue
null
null
null
null
null
null
null
textContent
null
null
null
null
null
null
hasChildNodes
TRUE
getRootNode
isEqualNode
isSameNode
contains
lookupPrefix
lookupNamespaceURI
isDefaultNamespace
元素API
Chrome63
Chrome5
Firefox55
Firefox3.6
Edge18
IE11 仿真IE9、IE10
Microsoft.XMLDOM
namespaceURI
prefix
f
f
f
f
f
f
f
localName
note
note
note
note
note
note
tagName
f:note
f:note
f:note
f:note
f:note
f:note
f:note
attributes
previousElementSibling
null
null
null
null
null
null
nextElementSibling
null
null
null
null
null
null
children
firstElementChild
null
null
null
null
null
null
lastElementChild
null
null
null
null
null
null
childElementCount
0
0
0
0
0
0
hasAttributes
getAttributeNames
getAttribute
getAttributeNS
hasAttribute
hasAttributeNS
getAttributeNode
getAttributeNodeNS
getElementsByTagName
getElementsByTagNameNS
getElementsByClassName
nodeType
1
1
1
1
1
1
1
nodeName
f:note
f:note
f:note
f:note
f:note
f:note
f:note
ownerDocument
parentNode
parentElement
null
null
null
null
childNodes
firstChild
lastChild
previousSibling
null
null
null
null
null
null
nextSibling
null
null
null
null
null
null
null
nodeValue
null
null
null
null
null
null
null
textContent
hello
hello
hello
hello
hello
hello
hasChildNodes
TRUE
getRootNode
isEqualNode
isSameNode
contains
lookupPrefix
lookupNamespaceURI
isDefaultNamespace