Javax.Xml.Namespace.INamespaceContext.GetNamespaceURI Method
getNamespaceURI(prefix) return value for specified prefixes
prefix parameterNamespace URI return value
DEFAULT_NS_PREFIX ("")default Namespace URI in the current scope or Javax.Xml.XMLConstants.NullNsUri when there is no default Namespace URI in the current scope
bound prefixNamespace URI bound to prefix in current scope
unbound prefixJavax.Xml.XMLConstants.NullNsUri
XMLConstants.XML_NS_PREFIX ("xml")XMLConstants.XML_NS_URI ("http://www.w3.org/XML/1998/namespace")
XMLConstants.XMLNS_ATTRIBUTE ("xmlns")XMLConstants.XMLNS_ATTRIBUTE_NS_URI ("http://www.w3.org/2000/xmlns/")
nullIllegalArgumentException is thrown

Syntax

[Android.Runtime.Register("getNamespaceURI", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetNamespaceURI_Ljava_lang_String_Handler:Javax.Xml.Namespace.INamespaceContextInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string GetNamespaceURI (string prefix)

Parameters

prefix
prefix to look up

Returns

Documentation for this section has not yet been entered.

Remarks

getNamespaceURI(prefix) return value for specified prefixes
prefix parameterNamespace URI return value
DEFAULT_NS_PREFIX ("")default Namespace URI in the current scope or Javax.Xml.XMLConstants.NullNsUri when there is no default Namespace URI in the current scope
bound prefixNamespace URI bound to prefix in current scope
unbound prefixJavax.Xml.XMLConstants.NullNsUri
XMLConstants.XML_NS_PREFIX ("xml")XMLConstants.XML_NS_URI ("http://www.w3.org/XML/1998/namespace")
XMLConstants.XMLNS_ATTRIBUTE ("xmlns")XMLConstants.XMLNS_ATTRIBUTE_NS_URI ("http://www.w3.org/2000/xmlns/")
nullIllegalArgumentException is thrown

Get Namespace URI bound to a prefix in the current scope.

When requesting a Namespace URI by prefix, the following table describes the returned Namespace URI value for all possible prefix values:

[Android Documentation]

Requirements

Namespace: Javax.Xml.Namespace
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8