Let us conclude
the topic by summarizing all the operations.
1.
Create an XMLDocument object and load the XML file.
2.
Create an XMLNodeReader object and input the object of the XMLDocument.
3.
Create an XMLSettings object and do the following 2 operations:
·
Load the schema object.
·
Add the validation event handler.
4.
Read the XmlDocument using the XmlReader.