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: param in XSL




-----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

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