The .NET Platform provides several different ways to parse XML documents. In cases where XML schemas need to be parsed, you can use the XmlTextReader or XmlDocument classes (to name just two). However, you can also use native schema classes built-into .NET that are located within the System.Xml.Schema namespace.
This sample application demonstrates how to use the XmlSchema class (and several related classes) to parse an XML schema and access different information. By understanding how to use the different schema classes you can more effectively manipulate schemas when needed in your applications.
|