I would like to know how I can achieve the following:

1. Load and XML File in the DOM - no problem here
2. Validate the XML file with a Schema - XmlValidatingReader?
3. Access schema data about a node - No idea here...

That is, and this is not supposed to be real code...

Load XML
Validate the XML against XSD

If xmlNode.DataType = String then
end if


for each enumerationType in xmlNode.Enumerations

Again I don't expect the syntax to be anywhere as nice as this, but I would
like to get the details about an XML Nodes schema, including its datatype,
enumerations etc.

Any guidance on this would be much appreciated.


Garry Mc