public static ISOOperationTechniqueReference ReadXML(XmlNode node) { ISOOperationTechniqueReference item = new ISOOperationTechniqueReference(); item.OperationTechniqueIdRef = node.GetXmlNodeValue("@A"); return(item); }
public static IEnumerable <ISOOperationTechniqueReference> ReadXML(XmlNodeList nodes) { List <ISOOperationTechniqueReference> items = new List <ISOOperationTechniqueReference>(); foreach (XmlNode node in nodes) { items.Add(ISOOperationTechniqueReference.ReadXML(node)); } return(items); }
public static ISOCulturalPractice ReadXML(XmlNode node) { ISOCulturalPractice item = new ISOCulturalPractice(); item.CulturalPracticeID = node.GetXmlNodeValue("@A"); item.CulturalPracticeDesignator = node.GetXmlNodeValue("@B"); XmlNodeList otrNodes = node.SelectNodes("OTR"); if (otrNodes != null) { item.OperationTechniqueReferences.AddRange(ISOOperationTechniqueReference.ReadXML(otrNodes)); } return(item); }