I need help validating an XML file against its associated XSD file. Here's the beginning of the XML file:
<?xml version="1.0" encoding="UTF-8"?>
<sps:Capabilities version="1.0.0"
updateSequence=""
xsi:schemaLocation=" spsGetCapabilities.xsd"
xmlns=" spsGetCapabilities.xsd"
xmlns:sps=" xmlns:xsi=" xmlnsws=" xmlns:gml=" xmlns:xlink="...
My code works fine when the application has an Internet connection, but it doesn't when no such connection is available. I do have copies of the XSD files, so my question is, what changes do I need to make to the XML file in order so it references the XSD files?
<?xml version="1.0" encoding="UTF-8"?>
<sps:Capabilities version="1.0.0"
updateSequence=""
xsi:schemaLocation=" spsGetCapabilities.xsd"
xmlns=" spsGetCapabilities.xsd"
xmlns:sps=" xmlns:xsi=" xmlnsws=" xmlns:gml=" xmlns:xlink="...
My code works fine when the application has an Internet connection, but it doesn't when no such connection is available. I do have copies of the XSD files, so my question is, what changes do I need to make to the XML file in order so it references the XSD files?