Here are some examples of using xsdvalidate:
stilts xsdvalidate example-voresource.xml
stilts xsdvalidate
doc=example-voresource.xml
schemaloc='http://www.ivoa.net/xml/VOResource/v1.0=vor-local.xsd'
topel='{http://www.ivoa.net/xml/RegistryInterface/v1.0}Resource'
verbose=true
vor-local.xsd" in the current
directory as the schema associated with the
"http://www.ivoa.net/xml/VOResource/v1.0" namespace,
rather than using any schema location given in the validated file.
It also requires that the top-level element has the given URI and
local name; if not, the validation will fail.
The verbose=true parameter provides some diagnostics
to standard output, including indications of which schemas were
used and where they were acquired from.