public Method(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode typeNode = xmlNode.SelectSingleNode("type");
     
     if (typeNode != null)
     {
         if (typeNode.Attributes["href"] != null || typeNode.Attributes["id"] != null) 
         {
             if (typeNode.Attributes["id"] != null) 
             {
                 typeIDRef_ = typeNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(typeNode);
                 IDManager.SetID(typeIDRef_, ob);
             }
             else if (typeNode.Attributes["href"] != null)
             {
                 typeIDRef_ = typeNode.Attributes["href"].Value;
             }
             else
             {
                 type_ = new XsdTypeToken(typeNode);
             }
         }
         else
         {
             type_ = new XsdTypeToken(typeNode);
         }
     }
     
 
     XmlNode monteNode = xmlNode.SelectSingleNode("monte");
     
     if (monteNode != null)
     {
         if (monteNode.Attributes["href"] != null || monteNode.Attributes["id"] != null) 
         {
             if (monteNode.Attributes["id"] != null) 
             {
                 monteIDRef_ = monteNode.Attributes["id"].Value;
                 Monte ob = new Monte(monteNode);
                 IDManager.SetID(monteIDRef_, ob);
             }
             else if (monteNode.Attributes["href"] != null)
             {
                 monteIDRef_ = monteNode.Attributes["href"].Value;
             }
             else
             {
                 monte_ = new Monte(monteNode);
             }
         }
         else
         {
             monte_ = new Monte(monteNode);
         }
     }
     
 
 }
        public Method(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode typeNode = xmlNode.SelectSingleNode("type");

            if (typeNode != null)
            {
                if (typeNode.Attributes["href"] != null || typeNode.Attributes["id"] != null)
                {
                    if (typeNode.Attributes["id"] != null)
                    {
                        typeIDRef_ = typeNode.Attributes["id"].Value;
                        XsdTypeToken ob = new XsdTypeToken(typeNode);
                        IDManager.SetID(typeIDRef_, ob);
                    }
                    else if (typeNode.Attributes["href"] != null)
                    {
                        typeIDRef_ = typeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        type_ = new XsdTypeToken(typeNode);
                    }
                }
                else
                {
                    type_ = new XsdTypeToken(typeNode);
                }
            }


            XmlNode monteNode = xmlNode.SelectSingleNode("monte");

            if (monteNode != null)
            {
                if (monteNode.Attributes["href"] != null || monteNode.Attributes["id"] != null)
                {
                    if (monteNode.Attributes["id"] != null)
                    {
                        monteIDRef_ = monteNode.Attributes["id"].Value;
                        Monte ob = new Monte(monteNode);
                        IDManager.SetID(monteIDRef_, ob);
                    }
                    else if (monteNode.Attributes["href"] != null)
                    {
                        monteIDRef_ = monteNode.Attributes["href"].Value;
                    }
                    else
                    {
                        monte_ = new Monte(monteNode);
                    }
                }
                else
                {
                    monte_ = new Monte(monteNode);
                }
            }
        }