RE: [xsl] parameters to xsl file

Subject: RE: [xsl] parameters to xsl file
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 18 Mar 2002 12:26:32 -0000
> i have to run this xsl based on the id which could be varying..
> and this id is not from xml file..
> is there a way that i pass on this id as a parameter to xsl
> file
>

Sure. You declare the parameter in the stylesheet as a top-level <xsl:param>
element. You supply the actual value of the parameter using the API or
command-line interface defined by your chosen XSLT processor.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread