How Do I...Validate XML using the XmlSchemaValidator Class?
This sample illustrates how to validate XML data using the XmlSchemaValidator class. The
XmlSchemaValidator class is useful in advanced scenarios, and allows you to validate an XML infoset
in-place without having to serialize it as an XML document, and reparse the document using a validating
XML reader. The sample deserializes XML data using the XmlSerializer class, and passes the XML data to
the methods of the XmlSchemaValidator class.
VB XmlSchemaValidator.exe
[This sample can be found at C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\QuickStart\howto\samples\Xml\XmlSchemaValidator\]
Microsoft .NET Framework SDK QuickStart Tutorials Version 2.0
Copyright 2004 Microsoft Corporation. All rights reserved.
|