public override bool TryThisParseXml(XmlElement elem) { if (!base.TryThisParseXml(elem)) return false; if (!elem.HasChildNodes) return true; foreach (var cNode in elem.ChildNodes) { var cElem = cNode as XmlElement; if (cElem == null) continue; var market = new NaicsMarket(); if (market.TryThisParseXml(cElem)) divisions.Add(market); } return true; }
protected internal void ResolveNaicsOnSic() { if (SIC == null) return; var naics = StandardIndustryClassification.LookupNaicsBySic(SIC); if (naics == null) return; _primarySector = naics.Item1; _sector = naics.Item2; _market = naics.Item3; }