aboutsummaryrefslogtreecommitdiff
path: root/spec/xs3p/examples/test_xalanj.bat
blob: 3a3f07694ef91e0db3b66cdb7944efb0d939649b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set RESULTS_DIR=xalanj-results
set LINKS_FILE=links.xml
set XSLT_FILE=xs3p.xsl
set ORIGINAL_XSLT_FILE=..\%XSLT_FILE%
rem      Copy XSLT file to local directory
copy %ORIGINAL_XSLT_FILE% .
rem      Create results directory
if not exist %RESULTS_DIR% mkdir %RESULTS_DIR%
rem      Loop through schema files
for %%f in (*.xsd) do java org.apache.xalan.xslt.Process -IN %%f -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%%f.html
rem      Test external links
rem set XSD_FILE=address.xsd
rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE%
rem set XSD_FILE=ipo.xsd
rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE%
rem set XSD_FILE=report.xsd
rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE%
rem      Delete local copy of stylesheet
del %XSLT_FILE%