DOMElement->getAttributeNS()

(no version information, might be only in CVS)

DOMElement->getAttributeNS() -- 属性の値を返す

説明

class DOMElement {

string getAttributeNS ( string namespaceURI, string localName )

}

現在のノードから、名前空間 namespaceURI における localName というローカル名の 属性の値を取得します。

パラメータ

namespaceURI

名前空間 URI。

localName

ローカル名。

返り値

属性の値、あるいは localName および namespaceURI に対応する属性が 見つからなかった場合には空の文字列を返します。

参考

DOMElement->hasAttributeNS()
DOMElement->setAttributeNS()
DOMElement->removeAttributeNS()