Schematron validation for OOXML/ODF word-processing documents
- Run
build.xml(for OOXML) orbuild-ODF.xml(for ODF): these will use the (N.B. OOXML-specific!) demo document and Schematron schema by default. - You can specify your own document and schema by overriding the properties
$wordml.fileand$schema: * either at the command line (-Dwordml.file=my-wordml-file.xmletc.) * or inproperties.local.xml, of which an example is provided. - The annotated version of the original is emitted as
[filename]-ANNOTATED.xml.
Tested with <oXygen/> 17.1/Ant 1.9.3