Skip to content

Instantly share code, notes, and snippets.

@62mkv
Created April 15, 2020 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 62mkv/029ddc3b56dc56e26c5e78d234340008 to your computer and use it in GitHub Desktop.
Save 62mkv/029ddc3b56dc56e26c5e78d234340008 to your computer and use it in GitHub Desktop.
How to validate an XML document with XMLSpy

Ensure that root element of the XML file will contain something like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:PrintData xmlns:ns2="http://iopm.int.kn/iopm4xml/meta/v1.4" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://iopm.int.kn/iopm4xml/meta/v1.4 path/to/xsd/file/schema.xsd">

and then click F8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment