Пример #1
0
        internal KeyFamily Parse(DSDDocument dsd)
        {
            KeyFamily keyFamily = new KeyFamily("keyFamilyName","lsdkfj", "agnencyID");

            XElement kfElement = dsd.GetKeyFamilyElement();

            foreach (var keFamilyElement in kfElement.Elements())
            {
                if (keFamilyElement.Name.LocalName == "Components")
                {
                    foreach (var element in keFamilyElement.Elements())
                    {
                        if (element.Name.LocalName == "Dimension")
                        {
                            var parser = new DimensionParser();
                            var dimension = parser.Parse(element, dsd);
                            keyFamily.AddDimension(dimension);
                        }
                    }
                }
            }

            return keyFamily;

        }
Пример #2
0
            internal Dimension Parse(XElement element, DSDDocument dsd)
            {
                string conceptRef, conceptVersion, conceptAgency, conceptSchemeRef, conceptSchemeAgency;

                ParseAttributes(element, out conceptRef, out conceptVersion, out conceptAgency, out conceptSchemeRef, out conceptSchemeAgency);

                return(null);
            }
Пример #3
0
            internal Dimension Parse(XElement element, DSDDocument dsd)
            {
                string conceptRef, conceptVersion, conceptAgency, conceptSchemeRef, conceptSchemeAgency;
                ParseAttributes(element, out conceptRef, out conceptVersion, out conceptAgency, out conceptSchemeRef, out conceptSchemeAgency);

                return null;

            }
Пример #4
0
        internal KeyFamily Parse(DSDDocument dsd)
        {
            KeyFamily keyFamily = new KeyFamily("keyFamilyName", "lsdkfj", "agnencyID");

            XElement kfElement = dsd.GetKeyFamilyElement();

            foreach (var keFamilyElement in kfElement.Elements())
            {
                if (keFamilyElement.Name.LocalName == "Components")
                {
                    foreach (var element in keFamilyElement.Elements())
                    {
                        if (element.Name.LocalName == "Dimension")
                        {
                            var parser    = new DimensionParser();
                            var dimension = parser.Parse(element, dsd);
                            keyFamily.AddDimension(dimension);
                        }
                    }
                }
            }

            return(keyFamily);
        }