Logtalk 2.16.1 files.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1028 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
pmoura
2004-03-23 17:51:43 +00:00
parent 4242efb73f
commit f08723a4b1
121 changed files with 343 additions and 591 deletions

View File

@@ -1,11 +1,7 @@
#!/bin/sh
XT_PATH="/Applications/XML/XT"
SAX_PATH="/Applications/XML/XT"
XP_PATH="/Applications/XML/XP"
# XT_PATH="/usr/local/XT"
# SAX_PATH="/usr/local/XT"
# XP_PATH="/usr/local/XP"
XSLT="lgthtml.xsl"
# XSLT="lgtxhtml.xsl"
@@ -19,7 +15,7 @@ fi
echo
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.
echo using the James Clark XT XSLT Java processor 20020426a or later version.
echo
echo An index.html file, containing links to all .html documenting files,
echo is automatically generated. This file uses the script optional parameter
@@ -30,7 +26,7 @@ echo converting XML files to HTML...
for file in *.xml; do
echo " converting" $file
name="`expr "$file" : '\(.*\)\.[^./]*$' \| "$file"`"
eval 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 $file $XSLT $name.html
eval 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 $file $XSLT $name.html
done
echo conversion done