指令: java com.lotus.xsl.xml4j.ProcessXSL
java com.lotus.xsl.Process
出現程式參數的說明如下:
xslproc options: -in inputXMLURL [-xsl XSLTransformationURL] [-out outputFileName] [-E (Do not expand entity refs)] [-V (Version info)] [-QC (Quiet Pattern Conflicts Warnings)] [-LF (Use linefeeds only on output {default is CR/LF})] [-CR (Use carriage returns only on output {default is CR/LF})] [-NV (No validation (validation is on by default))]
在 LotusXSL 軟體中的產生 readme.html 檔的例子如下:
cd readme_production
java com.lotus.xsl.xml4j.ProcessXSL -xsl readme.xsl -in readme.xml -out ../README.html產生 ../README.html 檔
使用 LotusXSL+XML4J applet, 將 XML + XSL 文件產生 HTML output將 ../xml4j/xml4j_1_1_14.jar 拷貝到 lotusxml 目錄中, 與 LotusXSL.zip 在一起. 因為 demo 時, XMLViewer.htm 檔中的 applet 使用到這兩個 archive 檔.
請試試 LotusXSL 的例子: XML/XSL to HTML demo
註: 使用 XML4j 1.1.14 + LotusXSL 0.16.2 則 Navigator 4.5 或 IE 4.01 可正確執行.
註: 使用 XML4j 1.1.14 + LotusXSL 0.16.3 則 IE 4.01 可正確執行.
註: 使用 XML4j 2.0.4 + LotusXSL 0.16.3 則 Browser/Command Line 都不可執行.
註: 以上 command line 使用 JDK 1.1.7