Creates a prefix/ns context for the next XPath query
public registerXPathNamespace ( string $prefix, string $namespace ) : boolean | ||
$prefix | string | The namespace prefix to use in the XPath query for the namespace given in "namespace". |
$namespace | string | The namespace to use for the XPath query. This must match a namespace in use by the XML document or the XPath query using "prefix" will not return any results. |
return | boolean | TRUE on success or FALSE on failure. |