xsl-list
[Top] [All Lists]

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

2007-12-28 11:43:38
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(_at_)yahoo(_dot_)co(_dot_)uk] 
Sent: 28 December 2007 11:19
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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







--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>