public ReportSectionIdentification(XmlNode xmlNode)
 {
     XmlNodeList reportIdNodeList = xmlNode.SelectNodes("reportId");
     if (reportIdNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in reportIdNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 reportIdIDRef = item.Attributes["id"].Name;
                 ReportId ob = ReportId();
                 IDManager.SetID(reportIdIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 reportIdIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 reportId = new ReportId(item);
             }
         }
     }
     
 
     XmlNodeList sectionNumberNodeList = xmlNode.SelectNodes("sectionNumber");
     if (sectionNumberNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in sectionNumberNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 sectionNumberIDRef = item.Attributes["id"].Name;
                 XsdTypePositiveInteger ob = XsdTypePositiveInteger();
                 IDManager.SetID(sectionNumberIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 sectionNumberIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 sectionNumber = new XsdTypePositiveInteger(item);
             }
         }
     }
     
 
 }
        public ReportSectionIdentification(XmlNode xmlNode)
        {
            XmlNodeList reportIdNodeList = xmlNode.SelectNodes("reportId");

            if (reportIdNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in reportIdNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        reportIdIDRef = item.Attributes["id"].Name;
                        ReportId ob = ReportId();
                        IDManager.SetID(reportIdIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        reportIdIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        reportId = new ReportId(item);
                    }
                }
            }


            XmlNodeList sectionNumberNodeList = xmlNode.SelectNodes("sectionNumber");

            if (sectionNumberNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in sectionNumberNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        sectionNumberIDRef = item.Attributes["id"].Name;
                        XsdTypePositiveInteger ob = XsdTypePositiveInteger();
                        IDManager.SetID(sectionNumberIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        sectionNumberIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        sectionNumber = new XsdTypePositiveInteger(item);
                    }
                }
            }
        }
 public ReportSectionIdentification(XmlNode xmlNode)
 {
     XmlNode reportIdNode = xmlNode.SelectSingleNode("reportId");
     
     if (reportIdNode != null)
     {
         if (reportIdNode.Attributes["href"] != null || reportIdNode.Attributes["id"] != null) 
         {
             if (reportIdNode.Attributes["id"] != null) 
             {
                 reportIdIDRef_ = reportIdNode.Attributes["id"].Value;
                 ReportId ob = new ReportId(reportIdNode);
                 IDManager.SetID(reportIdIDRef_, ob);
             }
             else if (reportIdNode.Attributes["href"] != null)
             {
                 reportIdIDRef_ = reportIdNode.Attributes["href"].Value;
             }
             else
             {
                 reportId_ = new ReportId(reportIdNode);
             }
         }
         else
         {
             reportId_ = new ReportId(reportIdNode);
         }
     }
     
 
     XmlNode sectionNumberNode = xmlNode.SelectSingleNode("sectionNumber");
     
     if (sectionNumberNode != null)
     {
         if (sectionNumberNode.Attributes["href"] != null || sectionNumberNode.Attributes["id"] != null) 
         {
             if (sectionNumberNode.Attributes["id"] != null) 
             {
                 sectionNumberIDRef_ = sectionNumberNode.Attributes["id"].Value;
                 XsdTypePositiveInteger ob = new XsdTypePositiveInteger(sectionNumberNode);
                 IDManager.SetID(sectionNumberIDRef_, ob);
             }
             else if (sectionNumberNode.Attributes["href"] != null)
             {
                 sectionNumberIDRef_ = sectionNumberNode.Attributes["href"].Value;
             }
             else
             {
                 sectionNumber_ = new XsdTypePositiveInteger(sectionNumberNode);
             }
         }
         else
         {
             sectionNumber_ = new XsdTypePositiveInteger(sectionNumberNode);
         }
     }
     
 
 }
        public ReportSectionIdentification(XmlNode xmlNode)
        {
            XmlNode reportIdNode = xmlNode.SelectSingleNode("reportId");

            if (reportIdNode != null)
            {
                if (reportIdNode.Attributes["href"] != null || reportIdNode.Attributes["id"] != null)
                {
                    if (reportIdNode.Attributes["id"] != null)
                    {
                        reportIdIDRef_ = reportIdNode.Attributes["id"].Value;
                        ReportId ob = new ReportId(reportIdNode);
                        IDManager.SetID(reportIdIDRef_, ob);
                    }
                    else if (reportIdNode.Attributes["href"] != null)
                    {
                        reportIdIDRef_ = reportIdNode.Attributes["href"].Value;
                    }
                    else
                    {
                        reportId_ = new ReportId(reportIdNode);
                    }
                }
                else
                {
                    reportId_ = new ReportId(reportIdNode);
                }
            }


            XmlNode sectionNumberNode = xmlNode.SelectSingleNode("sectionNumber");

            if (sectionNumberNode != null)
            {
                if (sectionNumberNode.Attributes["href"] != null || sectionNumberNode.Attributes["id"] != null)
                {
                    if (sectionNumberNode.Attributes["id"] != null)
                    {
                        sectionNumberIDRef_ = sectionNumberNode.Attributes["id"].Value;
                        XsdTypePositiveInteger ob = new XsdTypePositiveInteger(sectionNumberNode);
                        IDManager.SetID(sectionNumberIDRef_, ob);
                    }
                    else if (sectionNumberNode.Attributes["href"] != null)
                    {
                        sectionNumberIDRef_ = sectionNumberNode.Attributes["href"].Value;
                    }
                    else
                    {
                        sectionNumber_ = new XsdTypePositiveInteger(sectionNumberNode);
                    }
                }
                else
                {
                    sectionNumber_ = new XsdTypePositiveInteger(sectionNumberNode);
                }
            }
        }