[go: up one dir, main page]

Menu

[r79]: / trunk / colorer / bin / xslt.bat  Maximize  Restore  History

Download this file

43 lines (30 with data), 723 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
rem Calls XSL transform of %1 throught %2 into %3 with parameters %4=%5 %6=%7 etc.
SET PROC=XALAN
SET FIN=%1
SET FSS=%2
SET FOUT=%3
:loop
if "%4"=="" goto end
if "%PROC%"=="XALAN" goto xalan
SET PARS=%PARS% %4=%5
goto other
:xalan
SET PARS=%PARS% -PARAM %4 %5
:other
shift
shift
goto loop
:end
rem Instant saxon 6.5.2
rem saxon.exe -o %FOUT% %FIN% %FSS% %PARS%
rem Java saxon 7.x
java net.sf.saxon.Transform -o %FOUT% %FIN% %FSS% %PARS%
rem XALAN
rem java org.apache.xalan.xslt.Process -OUT %FOUT% -IN %FIN% -XSL %FSS% %PARS%
rem XT
rem xt %FIN% %FSS% %FOUT% %PARS%
rem buggy MSXSL js call variant
rem msxslt %FIN% %FSS% %FOUT% %PARS%
rem buggy MSXSL exe gate
rem msxsl %FIN% %FSS% -o %FOUT% %PARS%