[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Passing a parameter to the xsl file itself

Subject: RE: Passing a parameter to the xsl file itself
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 22 Apr 2003 14:25:07 +0100
pass parameter within xsl file
Sure you can pass a parameter to a transformation. Declare the parameter
in a global xsl:param element, and pass the required value using the
transformer.setParameter() method.

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

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Simon Kelly
> Sent: 22 April 2003 11:45
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Passing a parameter to the xsl file itself
> 
> 
> Hi all,
> 
> I have a transform I need to perform on multiple relational 
> data sets.  The xsl will not change in structure from go to 
> go, but I need to change a certain name within the transform 
> each time.  Unfortunately this data is not contained within 
> the relational data either, but is known by the java code 
> that is executing the relational search and then the 
> transform.  Is there a way to tell the xsl stylesheet this 
> information, without having to edit the xsl itself?
> 
> Cheers
> 
> Simon
> 
> 
> Institut fuer
> Prozessdatenverarbeitung
> und Elektronik,
> Forschungszentrum Karlsruhe GmbH,
> Postfach 3640,
> D-76021 Karlsruhe,
> Germany.
> 
> Tel: (+49)/7247 82-4042
> E-mail : kelly@xxxxxxxxxx
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.