python - xmlstarlet XML file validation against multiple xsd files -


i trying validate xmlfile against xsd, had problem validating xml file.

because file contains 3 xsd files , namespaces there, don't know how pass values in xmlstarlet

here have tried..

xmlstarlet val --err --xsd "h t t p://www.loc.gov/mets/ http://www.loc.gov/standards/mets/mets.xsd http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd http://www.loc.gov/standards/premis/v1 http://www.loc.gov/standards/premis/v1/premis-v1-1.xsd"  issue-news-issn8159726_19170716.xml 

output come failed load http resource
failed locate main schema resource @ ''

is there ways validate without passing xsd command line directly can write xsd in xml file.

i have many xml files need validate. tried desktop tool stylus studio thrown error properly, need on command line.

please me.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -