This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How To Access a param from style sheet
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: How To Access a param from style sheet
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 19 Oct 2000 11:28:28 +0100
- Reply-To: xsl-list at mulberrytech dot com
> I am new to XSLT and also to this list. I have a quick
> question about accessing parameters from XSL style sheets. I am using
Xalan
> XSLT processor in my servlet to transform XML into HTML using XSL. I am
> able to set the stylesheet param using
>
> xslProcessor.setStylesheetParam("sortBy", "receiverId");
>
I'm not a Xalan expert (!) but I seem to recall that the second parameter is
an XPath expresssion, not a string, so you might need to write
"'receiverId'".
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list