attributes attribute
A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
attributes
Access
read-only
Returns
NamedNodeMap
这对您有帮助吗?