Tuesday, November 15, 2005

DocBook XSL Transformations

Chapter?2.?Extensions

Example 2.2. Enabling the extensions from the command line

To enable the extensions from the command line, you need to pass the use.extensions parameter to your XSLT engine. Here's an example of how to do that with Saxon:

java com.icl.saxon.StyleSheet filename.xml docbook/html/docbook.xsl use.extensions=1 > output.html

and here's an example of how to do it with Xalan:

java org.apache.xalan.xslt.Process -IN filename.xml -XSL docbook/html/docbook.xsl -PARAM use.extensions 1 -OUT output.html

No comments: