예제 #1
0
파일: XmlNode.cs 프로젝트: hazzik/Rhino.Net
			private bool NamespacesEqual(Rhino.Xmlimpl.XmlNode.Namespace one, Rhino.Xmlimpl.XmlNode.Namespace two)
			{
				if (one == null && two == null)
				{
					return true;
				}
				if (one == null || two == null)
				{
					return false;
				}
				return Equals(one.GetUri(), two.GetUri());
			}
예제 #2
0
파일: XmlNode.cs 프로젝트: hazzik/Rhino.Net
		private string GetExistingPrefixFor(Rhino.Xmlimpl.XmlNode.Namespace @namespace)
		{
			if (GetDefaultNamespace().GetUri().Equals(@namespace.GetUri()))
			{
				return string.Empty;
			}
			return dom.LookupPrefix(@namespace.GetUri());
		}