-
Accessing Schema for XML Docs
Greetings
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
or
for each enumerationType in xmlNode.Enumerations
...
next
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.
Regards
Garry Mc
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|