LookupPrefix() public method

public LookupPrefix ( string namespaceURI ) : string
namespaceURI string
return string
 string IXmlNamespaceResolver.LookupPrefix(string namespaceName)
 {
     return(_nav.LookupPrefix(namespaceName));
 }
Example #2
0
		public bool MakeNil(XPathNavigator source)
		{
			if (source.NodeType == XPathNodeType.Element && IsNil(source) == false)
			{
				if (source.LookupPrefix(Xsi) != "xsi")
					CreateNamespace("xsi", Xsi, source);
				source.CreateAttribute("xsi", "nil", Xsi, "true");
				return true;
			}
			return false;
		}