Пример #1
0
        public void TestCustomDataTypesLoading()
        {
            Taxonomy tax = new Taxonomy();
            int numErrors;
            string pathToUse = @"S:\TESTSCHEMAS\TestTypesIn2011\sdds.xsd";

            if (tax.Load(pathToUse, out numErrors))
            {
                if (tax.Parse(out numErrors))
                {

                    foreach (KeyValuePair<string, string> kvp in tax.GetSimpleCustomElementTypes())
                    {

                        Console.WriteLine("{0} - {1}", kvp.Key, kvp.Value);
                    }
                }
            }
        }