Пример #1
0
        public void Create2011URLMapping()
        {
            Taxonomy tax = new Taxonomy();
            int numErrors;
            string pathToUse = "http://xbrl.fasb.org/us-gaap/2011/entire/us-gaap-entryPoint-all-2011-01-31.xsd";

            if (tax.Load(pathToUse, out numErrors))
            {
                if (tax.Parse(out numErrors))
                {
                    //get all the file URL mappings...
                    Dictionary<string, string> fileUrlMap = tax.BuildTaxonomyUrlMappings();

                    RemoteFiles.UpdateTaxonomyURLMappingInfo(fileUrlMap);
                }
            }
        }