This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How To Access a param from style sheet


>      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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]