[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: param in XSL


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
  • param in XSL
    • Jo Kong HO - Wed, 12 Jul 2000 17:40:35 +0100
      • <Possible follow-ups>
      • Stephen Kirkham - Wed, 12 Jul 2000 15:19:47 -0700 <=
Keywords
xsl