Re: [xsl] Passing parameters to stylesheet using XALAN

Subject: Re: [xsl] Passing parameters to stylesheet using XALAN
From: Manolis Mavrikis <M.Mavrikis@xxxxxxxx>
Date: Fri, 16 Jan 2004 22:57:34 +0000
Abhijit,

it should work ! Are you sure you are using it the right way ? Try write a simple stylesheet. Something simple as

<xsl:param name="FontSize">12pt</xsl:param>

<xsl:template match="/">
  <xsl:value-of select="$FontSize"/>
</xsl:template>

and send the parameter again and if problems persist send your stylesheet and the version of xalan you are using. Also try put quotes around the value like this:

-PARAM FontSize '8pt'

otherwise I can't imagine what could be wrong.

Manolis



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread