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; }
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); }
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; }
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); }