Click to See Complete Forum and Search --> : DataType validation in XML/XSD


Willy
11-21-2001, 08:38 PM
Hi!

I'm using the MSXML2.DOMDocument.4.0 parser of Microsoft and I can't see
the dataType propertie defined with the same dataType in the XSD Schema.
When I look into the XML DOM object, the dataType is unknown.

I have readed the XML DOM help file of Microsoft and It says, this property
is not used with XSD Schema definitions, it's used only with DTD Schema definitions.

How can I do to validate a XML document against their XSD Schema and also
get the dataType of each attributes in the DOM? - I need to do that, becouse,
I want to get the dataType value of each element in the XML Data.


Thank you.