Create a new XPathContext with node as the reference point.
Evaluate the search_path returning an XML::XPath object.
Register namespaces in namespaces
Register the namespace with prefix and uri.
Register the variable name with value.
[Validate]