Monday, August 21, 2017
 
Code Search
 
Code Bank
 
.NET Applications
XSD Schema Generator
 
.NET/XML Training




 







Validating XML Against Multiple Schemas using the XmlValidatingReader
Description

The XmlValidatingReader provides an API for validating XML documents against XSD schemas. In many cases a single XML instance document may be validated against a single XSD schema. However, more advanced applications may involve multiple schemas.

This sample application demonstrates how three different sections of an XML instance document can be validated against three different XML schemas (see the "View Source Code" link to view the individual schemas and the instance document) all within different target namespaces. The application leverages the XmlSchemaCollection class along with the XmlValidatingReader to perform the validation.


Teaches XSD Schemas, XmlValidatingReader, XmlSchemaCollection, targetNamespace
Requirements .NET 1.0
View Source Code: Click Here
Download Code: Click Here

 


.NET, SharePoint and Silverlight Training Solutions
    Online, Onsite and Video Training on .NET and SharePoint technologies available through The Wahlin Group.



© 2007 Wahlin Consulting LLC
XML for ASP.NET Developers in bookstores
Get XML for ASP.NET
Developers