EppLib.Entities.DomainCheckResponse.ProcessDataNode C# (CSharp) Method

ProcessDataNode() protected method

protected ProcessDataNode ( XmlDocument doc, XmlNamespaceManager namespaces ) : void
doc System.Xml.XmlDocument
namespaces System.Xml.XmlNamespaceManager
return void
		protected override void ProcessDataNode(XmlDocument doc, XmlNamespaceManager namespaces)
		{
			namespaces.AddNamespace("domain", "urn:ietf:params:xml:ns:domain-1.0");

			var children = doc.SelectNodes("/ns:epp/ns:response/ns:resData/domain:chkData/domain:cd", namespaces);

			if (children != null)
			{
				foreach (XmlNode child in children)
				{
					results.Add(new DomainCheckResult(child,namespaces));
				}
			}
		}
		//Modified by Luke Dobson Fasthosts