I have created a class in order to validate some XML. Within that class I have a validation method. I also have a .xsd file which contains my XML schema. I’ve been told that to use this file I must “Load the xsd file into a string”
How do you load an xsd file into a string?
It is quite easy to read the entire file into a string:
Hope this helps you in your quest.