private void ReadElementAttributes(XmlElement element) { foreach (XmlAttribute attrib in element.Attributes) { if (attrib.Name == INIT_STATE) InitState = attrib.Value; } }