look at the
“Application Form (SAX Validator)” section on “How the SAX Validator Application Works”.
There is a Form where you can see how the XSD File is assign to the oSC object in the VB code.
oSC.Add “”, txtSchemaFile
see also how is assign the XML File to the oReader object.
iExplore and others Navegators make a validation in automatic way when you open the file XML and it has a reference to the Schema.
In the XSD the keyword “type=”xsd:string”
means that the element is an String. Look that “id” is declared as attribute and the others are declared as elements.
I hope I help you a little to understand the example.
Facundo Wisar MX