public void parseXml(XmlElement elem) { clear(); XmlNodeList paramsNodeList = elem.SelectNodes("Param"); XmlElement paramElem = null; XmlParam param; foreach (XmlNode paramNode in paramsNodeList) { paramElem = (XmlElement)paramNode; param = new XmlParam(); m_paramList.Add(param); param.xmlParams = this; param.parseXml(paramElem); } }
public void parseXml(XmlElement elem) { clear(); XmlNodeList paramsNodeList = elem.SelectNodes("Param"); XmlElement paramElem = null; XmlParam param; foreach (XmlNode paramNode in paramsNodeList) { paramElem = (XmlElement)paramNode; param = new XmlParam(); m_paramList.Add(param); param.xmlParams = this; param.parseXml(paramElem); } }