Link Search Menu Expand Document

XmlNode.LookupPrefix Method

Explanation Get the prefix that corresponds to the namespace URI .
Added since Ver.4.0.0
Call format var prefix = node.LookupPrefix( namespaceURI )
Return value Corresponding prefix.
Returns null if not found .
Arguments String namespaceURI Namespace URI
Exception None
Example of use
    var prefix = node.LookupPrefix("http://www.w3.org/2000/svg");
    
Related item NamespaceURI, Prefix properties
LookupNamespaceURI method