You should be able to use the NVDL script that comes with the latest
DocBook 5 (5.0CR4 - http://docbook.org/xml/5.0CR4/)to validate against
both the Relax NG and against the Schematron Schema.
oNVDL is an open source implementation of NVDL based on Jing and
supports both Schematron and Relax NG for validation. It is available from
http://www.oxygenxml.com/onvdl.html
If you have any issues with oNVDL let me know.
Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jirka Kosek wrote:
Ken Morse wrote:
As an alternative, I thought I might use xmllint -- anyone know if it
is able to validate both against a RELAX NG schema and Schematron
rules?
Not in a single step. But it is possible to convert Schematron schema
into XSLT stylesheet and then use this stylesheet together with xsltproc
for validation.
See:
http://xml.ascc.net/schematron/1.5/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]