Example #1
0
        public void GAAP_TestTuples()
        {
            TestTaxonomy_2005_02_28 s = new TestTaxonomy_2005_02_28();
            int errors = 0;

            s.Load(US_GAAP_FILE);

            s.Parse(out errors);
            s.currentLabelRole = PresentationLocator.preferredLabelRole;
            s.currentLanguage  = s.SupportedLanguages[0] as String;

            ArrayList sortedElements = s.PreProcessGetNodesByElement();

            Console.WriteLine("Found Tuple Elements: ");

            foreach (Element ele in sortedElements)
            {
                RecurseElementsForTuples(ele);
            }
        }
        public void GAAP_TestTuples()
        {
            TestTaxonomy_2005_02_28 s = new TestTaxonomy_2005_02_28();
            int errors = 0;

            s.Load( US_GAAP_FILE );

            s.Parse( out errors );
            s.currentLabelRole = PresentationLocator.preferredLabelRole;
            s.currentLanguage = s.SupportedLanguages[0] as String;

            ArrayList sortedElements = s.PreProcessGetNodesByElement();
            Console.WriteLine("Found Tuple Elements: ");

            foreach (Element ele in sortedElements)
            {
                RecurseElementsForTuples(ele);
            }
        }