Validating xml with xsd in net

Posted by / 14-Feb-2020 19:34

What I have tried: Visual Studio still isn't giving up any useful debugging or editing information.I tried both 20 (I've done it before in 2008 I thought) Update: I had another developer try this and it failed for him too.Finally the result is added to View Bag and View is rendered.The Validate XMLUsing XSD() method validates the Xml file against Xsd file.Turns out the file I was trying to validate didn't have an 'xml' file extension.Added to the end of my filename, and the validation started to work. Visual Studio, when I open the file, validates it against the schema and lists errors perfectly.

The schema file is read from the specified path using Xml Reader class's create method.

I know I have done this before, but it isn't working today, nor can I find anywhere that explains how to do it.

It could be my lack of sleep, but I suspect gremlins.

So, that was one of the easiest ways to validate XML file. She is familiar with Object Oriented Programming Paradigms and also has a great interest in relational database technologies.

Her hobbies include reading novels and listening music.

validating xml with xsd in net-48validating xml with xsd in net-86validating xml with xsd in net-39

The illustration validates an XML document that the user chooses, either or catelog1against the XML Schema document

One thought on “validating xml with xsd in net”

  1. For more information about how we use cookies and guidance on how to manage your cookie settings, please see our Cookie Policy Every day thousands of people join Ashley Madison to find discreet relationships of all kinds. But if you’re looking to add a bit more of an air of mystery, you can use our blur or mask tools.