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]
Other format: [Raw text]

RE: parameters to xsl file


> 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@ntlworld.com
work: Michael.Kay@softwareag.com


 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]