Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Can Saxon validate an XML doc against an external XSD schema (from command line) ?


Subject: RE: [xsl] Can Saxon validate an XML doc against an external XSD schema (from command line) ?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 28 Dec 2007 18:43:01 -0000

Saxon-SA will do this for you, the command-line syntax in Saxon-SA 9.0 is

java com.saxonica.Validate -xsd:myschema.xsd -s:myxml.xml

It will also of course do validation as part of XSLT and XQuery processing.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Ben Stover [mailto:bxstover@xxxxxxxxxxx] 
> Sent: 28 December 2007 11:19
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Can Saxon validate an XML doc against an 
> external XSD schema (from command line) ?
> 
> Is Saxon a pure XSLT processor or can it validate an XML doc 
> against an external XSD schema as well?
> 
> If yes: How would I call such a validation operation from 
> command line? It must be something like:
> 
> java net.sf.saxon.validate myschema.xsd myxml.xml Ben


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords