public XmlNodeEntity(string nodeName, string value) { name = nodeName; this.value = value; childrenNodes = new List <XmlNodeEntity>(); attributes = new Dictionary <string, string>(); parentNode = null; }
public void AddChildNode(XmlNodeEntity newNode) { newNode.parentNode = this; childrenNodes.Add(newNode); }