root/tags/lgt291/xml/script.bat

Revision 30, 0.6 KB (checked in by pmoura, 7 years ago)

This commit was manufactured by cvs2svn to create tag 'lgt291'.

  • 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
6SET SAX_PATH=c:\xt
7SET XP_PATH=c:\xt
8
9SET XSLT="lgthtml.xsl"
10
11ECHO This script converts all .xml files in the current directory to .html
12ECHO files applying the XSLT transformation defined in the $XSLT file
13ECHO using the James Clark XT XSLT Java processor
14
15FOR %%f IN (*.xml) DO %JAVA_HOME%\bin\java -cp "%XT_PATH%\xt.jar;%SAX_PATH%\sax.jar;%XP_PATH%\xp.jar" -Dcom.jclark.xsl.sax.parser=com.jclark.xml.sax.CommentDriver com.jclark.xsl.sax.Driver %%f %XSLT% %%f.html
16
17REN *.xml.html *.html
18
19ECHO conversion done
20
21@ECHO on
Note: See TracBrowser for help on using the browser.