After parsing an XML document into a DOM using a System.Xml.ValidatingReader
to validate against a custom XSD, is there any lasting correlation between
the in-memory DOM and the XSD that was utilized during validation? In
particular, I am interested in, for a given arbitrary System.Xml.XmlNode
(guaranteed to have been validated against an XSD), retrieving a number of
element- and attribute-specific SOM objects that describe the schema types
to which the node conformed during validation.

This seems like it should be easy to do -- such as the returned
System.Xml.XmlDocument being implemented as something like
System.Xml.Schema.XmlSchemaDocument (subclassing XmlDocument, containing
System.Xml.Schema.XmlSchemaNode nodes) that must be upcasted to access
additional extended schema properties -- but my Googling and searching in
the System.Xml and System.Xml.Schema namespaces turns up nothing that
indicates that this is possible.

Thanks in advance,
<joe/>

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to