DOMNode->lookupNamespaceURI()

Gets the namespace URI of the node based on the prefix ()

DOMNode {
  string lookupNamespaceURI(string prefix);
}

Gets the namespace URI of the node based on the prefix.

参数

prefix

The prefix of the namespace.

返回值

The namespace URI of the node.