This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/xml/htmldos.bat
pmoura 6176d1bb08 Logtalk 2.14.1 release files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@563 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2002-08-01 00:33:27 +00:00

22 lines
576 B
Batchfile

@ECHO off
SET JAVA_HOME=c:\jdk1.3
SET XT_PATH=c:\xt
SET SAX_PATH=c:\xt
SET XP_PATH=c:\xt
SET XSLT="lgthtml.xsl"
ECHO This script converts all .xml files in the current directory to .html
ECHO files applying the XSLT transformation defined in the $XSLT file
ECHO using the James Clark XT XSLT Java processor
FOR %%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
REN *.xml.html *.html
ECHO conversion done
@ECHO on