G
Guest
Hi,
I was validation the XML document by using the XmlValidationReader object
and everything was OK.
As I was notified by VS that this class is obsolete, I changed the code and
used XmlReader with the XmlReaderSettings class.
My question is, why I have to set Schemas.Add(...,"MyDoc.xsd"), if the link
to the XSD document is inside the XML document
xsi:noNamespaceSchemaLocation="MyDoc.xsd" .
Is tehre any other way?
Thanks,
Lubomir
I was validation the XML document by using the XmlValidationReader object
and everything was OK.
As I was notified by VS that this class is obsolete, I changed the code and
used XmlReader with the XmlReaderSettings class.
My question is, why I have to set Schemas.Add(...,"MyDoc.xsd"), if the link
to the XSD document is inside the XML document
xsi:noNamespaceSchemaLocation="MyDoc.xsd" .
Is tehre any other way?
Thanks,
Lubomir