You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Michael Boppel <mi...@boppel.com> on 2001/07/14 11:30:11 UTC
passing parameters from the command-line
Hi,
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
$language:
<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,
Michael
--
The box said "Requires Win95, NT, or better," and so I installed Linux.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org