Interface IXPathNSResolver
Interface IXPathNSResolver
Namespace: Aspose.Html.Dom.XPath
Assembly: Aspose.HTML.dll (25.7.0)
The XPathNSResolver interface permit prefix strings in
the expression to be properly bound to namespaceURI strings.
Aspose.Html.Dom.XPath.IXPathEvaluator can construct an implementation of
Aspose.Html.Dom.XPath.IXPathNSResolver from a node, or the interface may be
implemented by any application.
[ComVisible(true)]
[DOMObject]
[DOMName("XPathNSResolver")]
public interface IXPathNSResolverMethods
LookupNamespaceURI(string)
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.
[DOMName("lookupNamespaceURI")]
string LookupNamespaceURI(string prefix)Parameters
prefix string
The prefix to look for.
Returns
Returns the associated namespace URI or null if none
is found.