Subject: RE: param in XSL From: Stephen Kirkham <skirkham@xxxxxxxxxx> Date: Wed, 12 Jul 2000 15:19:47 -0700 |
-----Original Message----- From: Jo Kong HO [mailto:JoK@xxxxxxxxxxxxxx] Sent: Wednesday, July 12, 2000 9:41 AM To: 'xsl-list@xxxxxxxxxxxxxxxx' 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: param in XSL, Sukumar Munshi | Thread | arbitrary sorting, Oliver Becker |
Re: bu, AndrewWatt2000 | Date | Re: bu, Perry Molendijk |
Month |