Interface IXPathNSResolver
Interface IXPathNSResolver
Il nome: Aspose.Html.Dom.XPath Assemblaggio: Aspose.HTML.dll (25.4.0)
L’interfaccia ‘XPathNSResolver’ consente che le strisce ‘prefix’ intè l’espressione di essere correttamente collegato alle strisce ’namespaceURI’.Aspose.Html.Dom.XPath.IXPathEvaluator può costruire una implementazione diAspose.Html.Dom.XPath.IXPathNSResolver da un nodo, o l’interfaccia può essere implementato da qualsiasi applicazione.
[DOMName("XPathNSResolver")]
[ComVisible(true)]
[DOMObject]
public interface IXPathNSResolver
Methods
SviluppoNamespaceURI(String)
Guarda l’URI del nome spazio associato al dato prefix del nome spazio.L’evaluatore XPath non deve mai chiamare questo con un ‘zero’ o un documento vuoto, perché il risultato di farlo è indeterminato.
[DOMName("lookupNamespaceURI")]
string LookupNamespaceURI(string prefix)
Parameters
prefix
string
Il prefisso da cercare.
Returns
Ritorna il nome associato URI o ‘zero’ se non è stato trovato.