Acme.Northwind.Install.XmlHelper.GetNode C# (CSharp) Method

GetNode() public static method

Gets a node from an XPath query
public static GetNode ( this xmlNode, string xpath ) : XmlNode
xmlNode this
xpath string
return System.Xml.XmlNode
		public static System.Xml.XmlNode GetNode(this System.Xml.XmlNode xmlNode, string xpath)
		{
			try
			{
				System.Xml.XmlNode node = null;
				node = xmlNode.SelectSingleNode(xpath);
				return node;
			}
			catch { throw; }
		}

Same methods

XmlHelper::GetNode ( this xmlNode, string xpath, XmlNamespaceManager nsManager ) : XmlNode