root/tags/lgt2211/xml/htmldos.bat

Revision 746, 0.6 KB (checked in by pmoura, 5 years ago)

Updated and simplified scripts for new version of XT.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1@ECHO off
2
3SET JAVA_HOME=c:\jdk1.3
4
5SET XT_PATH=c:\xt
6
7SET XSLT="lgthtml.xsl"
8REM SET XSLT="lgtxhtml.xsl"
9
10ECHO This script converts all .xml files in the current directory to .html
11ECHO files applying the XSLT transformation defined in the $XSLT file
12ECHO using the James Clark XT XSLT Java processor 20020426a or later version.
13
14FOR %%f IN (*.xml) DO %JAVA_HOME%\bin\java -cp "%XT_PATH%\xt.jar;%XT_PATH%\lib\xp.jar" -Dcom.jclark.xsl.sax.parser=com.jclark.xml.sax.CommentDriver com.jclark.xsl.sax.Driver %%f %XSLT% %%f.html
15
16REN *.xml.html *.html
17
18ECHO conversion done
19
20@ECHO on
Note: See TracBrowser for help on using the browser.