This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
passing parameters to an xsl-file
- To: <xsl-list at mulberrytech dot com>
- Subject: passing parameters to an xsl-file
- From: "Martin Kammermeier" <martin at yousmile dot de>
- Date: Fri, 14 Apr 2000 22:33:17 +0200
- Organization: youSmile.de
- Reply-To: xsl-list at mulberrytech dot com
I am using xalan and want to pass a parameter to my stylesheet, that should
be available everywhere in my sheet.
I tried to declare the param as a top level element, but with
1) <xsl:param name="paraname" select="output"/>
my param doesn't even seem to have a value
and with
2) <xsl:param name="paraname">output</xsl:param>
it had a value, but I was not able to change it (with a " -PARAM paraname
'output' "command from the command line as recommanded for xalan as a
first try)
I guess the problem is that I did not quite get the concept of this params
yet.
Thanks to anybody who can give me a hint.
Martin
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list