Home   |   QuickStart Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   
  |   I want my samples in...      

How Do I...? Common Tasks QuickStart Tutorial

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
View Source
[This sample can be found at C:\DevFusion.Data\legacy\quickstart.developerfusion.co.uk\QuickStart\howto\samples\Xml\XmlSchemaValidator\]

Microsoft .NET Framework SDK QuickStart Tutorials Version 2.0
Copyright � 2004 Microsoft Corporation. All rights reserved.