Subject: RE: How To Access a param from style sheet
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 19 Oct 2000 11:28:28 +0100
|
> 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
|