public IPersistent GetElement(string name)
        {
            XmlNode node = element.SelectSingleNode("./" + name);

            if (node == null)
            {
                return(null);
            }
            return(PersistentFactory.CreateObject(doc, (XmlElement)node));
        }
        public List <T> GetElements <T>(string name)
        {
            XmlNodeList nodes = element.SelectNodes("./" + name + "/" + name + LIST_ITEM);
            List <T>    list  = new List <T>();

            foreach (XmlNode node in nodes)
            {
                list.Add((T)PersistentFactory.CreateObject(doc, (XmlElement)node));
            }
            return(list);
        }