Original Post
I'm trying get information about an XML document using the schema information. Are there any classes that would make it easy to get information like what elements and/or attributes are valid for a particular element? The only thing I have found so for is the XmlSchemaValidator where I can do incremental schema validation and use GetExpectedParticles and GetExpectedAttributes as I iterate over the xml document. This isn't very convenient since it's tied to parsing and not to the node after the parsing is complete. It would be much better if I could somehow use node.SchemaInfo but I can't seem to find any relevant information in there. Is anyone else doing something similar? How should I be trying to get the available elements/atttributes for a particular element? [Edited by - tstrimp on March 15, 2007 5:07:35 PM]