I need to pass some parameters from the command-line and want to access these 
values via variables in the xsl document.

I have implemeted this with Xalan for the HTML Transformation and it looks 
like this:

$: java org.apache.xalan.xslt.Process -IN faq.xml -XSL faq_html.xsl  -OUT
test.html -param language "en" 

in the xsl file I can access the value of the parameter "language" with 

<xsl:param name="language">de</xsl:param>
<xsl:when test="$language='en'">

Is there any equivalent in fop???

I couldn't find anything in the documentation.

Thanks in advance,


The box said "Requires Win95, NT, or better," and so I installed Linux.

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to