(PHP 5, PHP 7)
DOMElement::getAttributeNodeNS — 属性ノードを返す
現在のノードの、名前空間 namespaceURIにおける
localName というローカル名の属性ノードを返します。
namespaceURI名前空間 URI。
localNameローカル名。
属性ノードを返します。 Note that for XML namespace declarations (xmlns and xmlns:* attributes) an instance of DOMNameSpaceNode is returned instead of a DOMAttr.