Ah, thank you very much Tsjui.. had a quick look at my XSD and was able to spot the error.
VS is now throwing an error up where I have the string in an int field (which is what I wanted), so thanks again!
Hi tsuji, thanks for the reply.. however, when I use your code, I get this error in Visual Studio:
"The 'http://tempuri.org/XMLSchema.xsd:newsandscores' element is not declared'".
I have the XML and XSD files in the same directory.
Hey folks,
I'm pretty new to XML so bare with me..
I'm trying to validate an XML file using a XSD file in the same directory. The reference I have in the xml file is:
<?xml version="1.0" encoding="utf-8"?>
<newsandscores xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.