June 2006
Intermediate to advanced
1344 pages
42h 52m
English
Recall from Section 19.6 that schemas provide a means for specifying XML document structure and validating XML documents. Such validation helps an application determine whether a particular document it receives is complete, ordered properly and not missing any data. In Section 19.6, we used an online XSD schema validator to verify that an XML document conforms to an XML Schema. In this section, we show how to perform the same type of validation programmatically using classes provided by the .NET Framework.
Class XmlReader can validate an XML document as it reads and parses the document. In this example, we demonstrate how to activate such validation. ...
Read now
Unlock full access