@echo off cls echo Usage: schematron %%1 = iso schematron file, with its extension. echo %%2 is the input xml file, with the extension. echo E.g. schematron input.sch input.xml will produce input.report.xml as output del tmp.xsl echo Generate the stylesheet from %1 java net.sf.saxon.Transform -o tmp.xsl -s %1 iso_svrl.xsl echo Now run the input file %2 against the generated stylesheet tmp.xsl to produce %1.report.xml java net.sf.saxon.Transform -o %1.report.xml -s %2 tmp.xsl rem type %1.report.xml