public StreetAddress(XmlNode xmlNode)
        {
            XmlNodeList streetLineNodeList = xmlNode.SelectNodes("streetLine");

            foreach (XmlNode item in streetLineNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        streetLineIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = new XsdTypeString();
                        ob.Add(new XsdTypeString(item));
                        IDManager.SetID(streetLineIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        streetLineIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        streetLine.Add(new XsdTypeString(item));
                    }
                }
            }
        }
        public CashSettlementTerms(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNodeList valuationDateNodeList = xmlNode.SelectNodes("valuationDate");

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

            foreach (XmlNode item in valuationDateNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        valuationDateIDRef = item.Attributes["id"].Name;
                        ValuationDate ob = ValuationDate();
                        IDManager.SetID(valuationDateIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        valuationDateIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        valuationDate = new ValuationDate(item);
                    }
                }
            }


            XmlNodeList valuationTimeNodeList = xmlNode.SelectNodes("valuationTime");

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

            foreach (XmlNode item in valuationTimeNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        valuationTimeIDRef = item.Attributes["id"].Name;
                        BusinessCenterTime ob = BusinessCenterTime();
                        IDManager.SetID(valuationTimeIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        valuationTimeIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        valuationTime = new BusinessCenterTime(item);
                    }
                }
            }


            XmlNodeList quotationMethodNodeList = xmlNode.SelectNodes("quotationMethod");

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

            foreach (XmlNode item in quotationMethodNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        quotationMethodIDRef = item.Attributes["id"].Name;
                        QuotationRateTypeEnum ob = QuotationRateTypeEnum();
                        IDManager.SetID(quotationMethodIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        quotationMethodIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        quotationMethod = new QuotationRateTypeEnum(item);
                    }
                }
            }


            XmlNodeList quotationAmountNodeList = xmlNode.SelectNodes("quotationAmount");

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

            foreach (XmlNode item in quotationAmountNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        quotationAmountIDRef = item.Attributes["id"].Name;
                        Money ob = Money();
                        IDManager.SetID(quotationAmountIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        quotationAmountIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        quotationAmount = new Money(item);
                    }
                }
            }


            XmlNodeList minimumQuotationAmountNodeList = xmlNode.SelectNodes("minimumQuotationAmount");

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

            foreach (XmlNode item in minimumQuotationAmountNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        minimumQuotationAmountIDRef = item.Attributes["id"].Name;
                        Money ob = Money();
                        IDManager.SetID(minimumQuotationAmountIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        minimumQuotationAmountIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        minimumQuotationAmount = new Money(item);
                    }
                }
            }


            XmlNodeList dealerNodeList = xmlNode.SelectNodes("dealer");

            foreach (XmlNode item in dealerNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        dealerIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = new XsdTypeString();
                        ob.Add(new XsdTypeString(item));
                        IDManager.SetID(dealerIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        dealerIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        dealer.Add(new XsdTypeString(item));
                    }
                }
            }


            XmlNodeList cashSettlementBusinessDaysNodeList = xmlNode.SelectNodes("cashSettlementBusinessDays");

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

            foreach (XmlNode item in cashSettlementBusinessDaysNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        cashSettlementBusinessDaysIDRef = item.Attributes["id"].Name;
                        XsdTypeNonNegativeInteger ob = XsdTypeNonNegativeInteger();
                        IDManager.SetID(cashSettlementBusinessDaysIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        cashSettlementBusinessDaysIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        cashSettlementBusinessDays = new XsdTypeNonNegativeInteger(item);
                    }
                }
            }


            XmlNodeList cashSettlementAmountNodeList = xmlNode.SelectNodes("cashSettlementAmount");

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

            foreach (XmlNode item in cashSettlementAmountNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        cashSettlementAmountIDRef = item.Attributes["id"].Name;
                        Money ob = Money();
                        IDManager.SetID(cashSettlementAmountIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        cashSettlementAmountIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        cashSettlementAmount = new Money(item);
                    }
                }
            }


            XmlNodeList recoveryFactorNodeList = xmlNode.SelectNodes("recoveryFactor");

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

            foreach (XmlNode item in recoveryFactorNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        recoveryFactorIDRef = item.Attributes["id"].Name;
                        RestrictedPercentage ob = RestrictedPercentage();
                        IDManager.SetID(recoveryFactorIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        recoveryFactorIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        recoveryFactor = new RestrictedPercentage(item);
                    }
                }
            }


            XmlNodeList fixedSettlementNodeList = xmlNode.SelectNodes("fixedSettlement");

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

            foreach (XmlNode item in fixedSettlementNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        fixedSettlementIDRef = item.Attributes["id"].Name;
                        XsdTypeBoolean ob = XsdTypeBoolean();
                        IDManager.SetID(fixedSettlementIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        fixedSettlementIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        fixedSettlement = new XsdTypeBoolean(item);
                    }
                }
            }


            XmlNodeList accruedInterestNodeList = xmlNode.SelectNodes("accruedInterest");

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

            foreach (XmlNode item in accruedInterestNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        accruedInterestIDRef = item.Attributes["id"].Name;
                        XsdTypeBoolean ob = XsdTypeBoolean();
                        IDManager.SetID(accruedInterestIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        accruedInterestIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        accruedInterest = new XsdTypeBoolean(item);
                    }
                }
            }


            XmlNodeList valuationMethodNodeList = xmlNode.SelectNodes("valuationMethod");

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

            foreach (XmlNode item in valuationMethodNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        valuationMethodIDRef = item.Attributes["id"].Name;
                        ValuationMethodEnum ob = ValuationMethodEnum();
                        IDManager.SetID(valuationMethodIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        valuationMethodIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        valuationMethod = new ValuationMethodEnum(item);
                    }
                }
            }
        }
        public TradeDifference(XmlNode xmlNode)
        {
            XmlNodeList differenceTypeNodeList = xmlNode.SelectNodes("differenceType");

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

            foreach (XmlNode item in differenceTypeNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        differenceTypeIDRef = item.Attributes["id"].Name;
                        DifferenceTypeEnum ob = DifferenceTypeEnum();
                        IDManager.SetID(differenceTypeIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        differenceTypeIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        differenceType = new DifferenceTypeEnum(item);
                    }
                }
            }


            XmlNodeList differenceSeverityNodeList = xmlNode.SelectNodes("differenceSeverity");

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

            foreach (XmlNode item in differenceSeverityNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        differenceSeverityIDRef = item.Attributes["id"].Name;
                        DifferenceSeverityEnum ob = DifferenceSeverityEnum();
                        IDManager.SetID(differenceSeverityIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        differenceSeverityIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        differenceSeverity = new DifferenceSeverityEnum(item);
                    }
                }
            }


            XmlNodeList elementNodeList = xmlNode.SelectNodes("element");

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

            foreach (XmlNode item in elementNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        elementIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = XsdTypeString();
                        IDManager.SetID(elementIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        elementIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        element = new XsdTypeString(item);
                    }
                }
            }


            XmlNodeList basePathNodeList = xmlNode.SelectNodes("basePath");

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

            foreach (XmlNode item in basePathNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        basePathIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = XsdTypeString();
                        IDManager.SetID(basePathIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        basePathIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        basePath = new XsdTypeString(item);
                    }
                }
            }


            XmlNodeList baseValueNodeList = xmlNode.SelectNodes("baseValue");

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

            foreach (XmlNode item in baseValueNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        baseValueIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = XsdTypeString();
                        IDManager.SetID(baseValueIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        baseValueIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        baseValue = new XsdTypeString(item);
                    }
                }
            }


            XmlNodeList otherPathNodeList = xmlNode.SelectNodes("otherPath");

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

            foreach (XmlNode item in otherPathNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        otherPathIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = XsdTypeString();
                        IDManager.SetID(otherPathIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        otherPathIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        otherPath = new XsdTypeString(item);
                    }
                }
            }


            XmlNodeList otherValueNodeList = xmlNode.SelectNodes("otherValue");

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

            foreach (XmlNode item in otherValueNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        otherValueIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = XsdTypeString();
                        IDManager.SetID(otherValueIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        otherValueIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        otherValue = new XsdTypeString(item);
                    }
                }
            }


            XmlNodeList missingElementNodeList = xmlNode.SelectNodes("missingElement");

            foreach (XmlNode item in missingElementNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        missingElementIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = new XsdTypeString();
                        ob.Add(new XsdTypeString(item));
                        IDManager.SetID(missingElementIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        missingElementIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        missingElement.Add(new XsdTypeString(item));
                    }
                }
            }


            XmlNodeList extraElementNodeList = xmlNode.SelectNodes("extraElement");

            foreach (XmlNode item in extraElementNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        extraElementIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = new XsdTypeString();
                        ob.Add(new XsdTypeString(item));
                        IDManager.SetID(extraElementIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        extraElementIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        extraElement.Add(new XsdTypeString(item));
                    }
                }
            }


            XmlNodeList messageNodeList = xmlNode.SelectNodes("message");

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

            foreach (XmlNode item in messageNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        messageIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = XsdTypeString();
                        IDManager.SetID(messageIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        messageIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        message = new XsdTypeString(item);
                    }
                }
            }
        }
Exemplo n.º 4
0
        public PubliclyAvailableInformation(XmlNode xmlNode)
        {
            XmlNodeList standardPublicSourcesNodeList = xmlNode.SelectNodes("standardPublicSources");

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

            foreach (XmlNode item in standardPublicSourcesNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        standardPublicSourcesIDRef = item.Attributes["id"].Name;
                        XsdTypeBoolean ob = XsdTypeBoolean();
                        IDManager.SetID(standardPublicSourcesIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        standardPublicSourcesIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        standardPublicSources = new XsdTypeBoolean(item);
                    }
                }
            }


            XmlNodeList publicSourceNodeList = xmlNode.SelectNodes("publicSource");

            foreach (XmlNode item in publicSourceNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        publicSourceIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = new XsdTypeString();
                        ob.Add(new XsdTypeString(item));
                        IDManager.SetID(publicSourceIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        publicSourceIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        publicSource.Add(new XsdTypeString(item));
                    }
                }
            }


            XmlNodeList specifiedNumberNodeList = xmlNode.SelectNodes("specifiedNumber");

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

            foreach (XmlNode item in specifiedNumberNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        specifiedNumberIDRef = item.Attributes["id"].Name;
                        XsdTypePositiveInteger ob = XsdTypePositiveInteger();
                        IDManager.SetID(specifiedNumberIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        specifiedNumberIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        specifiedNumber = new XsdTypePositiveInteger(item);
                    }
                }
            }
        }
Exemplo n.º 5
0
        public RoutingIdsAndExplicitDetails(XmlNode xmlNode)
        {
            XmlNodeList routingIdsNodeList = xmlNode.SelectNodes("routingIds");

            foreach (XmlNode item in routingIdsNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        routingIdsIDRef = item.Attributes["id"].Name;
                        List <RoutingIds> ob = new List <RoutingIds>();
                        ob.Add(new RoutingIds(item));
                        IDManager.SetID(routingIdsIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        routingIdsIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        routingIds.Add(new RoutingIds(item));
                    }
                }
            }


            XmlNodeList routingNameNodeList = xmlNode.SelectNodes("routingName");

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

            foreach (XmlNode item in routingNameNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        routingNameIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = XsdTypeString();
                        IDManager.SetID(routingNameIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        routingNameIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        routingName = new XsdTypeString(item);
                    }
                }
            }


            XmlNodeList routingAddressNodeList = xmlNode.SelectNodes("routingAddress");

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

            foreach (XmlNode item in routingAddressNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        routingAddressIDRef = item.Attributes["id"].Name;
                        Address ob = Address();
                        IDManager.SetID(routingAddressIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        routingAddressIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        routingAddress = new Address(item);
                    }
                }
            }


            XmlNodeList routingAccountNumberNodeList = xmlNode.SelectNodes("routingAccountNumber");

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

            foreach (XmlNode item in routingAccountNumberNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        routingAccountNumberIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = XsdTypeString();
                        IDManager.SetID(routingAccountNumberIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        routingAccountNumberIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        routingAccountNumber = new XsdTypeString(item);
                    }
                }
            }


            XmlNodeList routingReferenceTextNodeList = xmlNode.SelectNodes("routingReferenceText");

            foreach (XmlNode item in routingReferenceTextNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        routingReferenceTextIDRef = item.Attributes["id"].Name;
                        XsdTypeString ob = new XsdTypeString();
                        ob.Add(new XsdTypeString(item));
                        IDManager.SetID(routingReferenceTextIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        routingReferenceTextIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        routingReferenceText.Add(new XsdTypeString(item));
                    }
                }
            }
        }