// public const string XMLNODE_LINK = "link"; // Later version"s will support link collections

        public static CReportItem CreateItemFromXMLNode(XmlNode aXmlNode)
        {
            CReportItem lResult = null;

            if (aXmlNode.Name == XMLNODE_FOLDER)
            {
                lResult = new CReportFolder(aXmlNode.Attributes["name"].Value);
            }
            else
            if (aXmlNode.Name == XMLNODE_REPORT)
            {
                lResult = new CReportFile(aXmlNode.Attributes["name"].Value, aXmlNode.Attributes["path"].Value);
            }
            else
            {
                lResult = new CReportItem(aXmlNode.Attributes["name"].Value);
            }

            return(lResult);
        }
        // public const string XMLNODE_LINK = "link"; // Later version"s will support link collections
        public static CReportItem CreateItemFromXMLNode(XmlNode aXmlNode)
        {
            CReportItem lResult = null;

                    if (aXmlNode.Name == XMLNODE_FOLDER) {
                            lResult = new CReportFolder(aXmlNode.Attributes["name"].Value);
                        } else
                    if (aXmlNode.Name == XMLNODE_REPORT) {
                            lResult = new CReportFile(aXmlNode.Attributes["name"].Value, aXmlNode.Attributes["path"].Value);
                        } else
                    lResult = new CReportItem(aXmlNode.Attributes["name"].Value);

                    return lResult;
        }