XMPNS_GetPrefix

Return the prefix of a registered namespace.
XMPNS_GetPrefix(nsURI) ➔ nsPrefix
nsURI Text The namespace URI.
↩︎ nsPrefix Text The namespace prefix.

Return the prefix of a registered namespace.

Parameter nsURI is the URI of the namespace.

The prefix of the namespace is returned in the method result (nsPrefix). If there is no registered namespace with URI nsURI, and empty string is returned.