// 
        private void InsertFromXml (Node currentSelectedNode, XmlNode xmlChildNode, Node newNode, ref Node newSelectedNode, ref bool selected)
        {
            newNode = new Node();
            newNode.Parse(xmlChildNode, this.types_, this.entityManager, false, null, false);
            if (newNode.type_ != null)
            {
                currentSelectedNode.PrependNode(newNode);

                newSelectedNode = newNode.Parse(xmlChildNode, this.types_, this.entityManager, true, null, false);
                
                if (newSelectedNode != null)
                {
                    this.SelectNode(newSelectedNode, newSelectedNode.IsAppend);
                    selected = true;
                }
            }
        }