Introduced in: | DOM 3 XPath |
The XPathNSResolver interface permit prefix strings in the expression to be properly bound to
namespaceURI strings. XPathEvaluator can construct an implementation of XPathNSResolver from a
node, or the interface may be implemented by any application.
public function lookupNamespaceURI(prefix:DOMString):DOMString
Introduced in: | DOM 3 XPath |
Look up the namespace URI associated to the given namespace prefix. The XPath evaluator must
never call this with a null or empty argument, because the result of doing this is undefined.
Parameters
Returns | DOMString — Returns the associated namespace URI or null if none is found.
|
See also
Mon Aug 17 2009, 10:08 AM -04:00