This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: param in XSL
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: param in XSL
- From: Stephen Kirkham <skirkham at escrow dot com>
- Date: Wed, 12 Jul 2000 15:19:47 -0700
- Reply-To: xsl-list at mulberrytech dot com
-----Original Message-----
From: Jo Kong HO [mailto:JoK@USWebCKS.co.uk]
Sent: Wednesday, July 12, 2000 9:41 AM
To: 'xsl-list@mulberrytech.com'
Subject: param in XSL
hi all
I am looking into passing parameters into a XSL file. Has anyone experience
of it?
-------------------------------------
AT least in Xalan Use setStylesheetParam() on the XSLTProcessor
e.g. to pass in a node set
XSLTProcessor processor = XSLTProcessorFactory.getProcessor();
processor.setStylesheetParam( "xml-data", processor.createXNodeSet( node )
);
in the stylesheet use pick it up as a parm, e.g.
<xsl:param name="xml-data"/>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list