| Subject: Re: Passing a parameter to an XSL document From: Steve Tinney <stinney@xxxxxxxxxxxxx> Date: Tue, 08 Feb 2000 11:44:42 -0500 | 
menkell@xxxxxxxxxx wrote:
> 
> I would like to pass the name of the xml document(en_US.xml)  to be used in
> this xsl segment.  Java or javascript.
> 
> <xsl:if test="document('en_US.xml')/locale/*[name()=$myKey]">
> 
> Any ideas?
See the XSLT spec under xsl:param, and also consult the documentation
for your XSL processor to determine how to pass arguments into a script. 
 Steve
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: Passing a parameter to an XSL d, David Carlisle | Thread | Any Chance of Giving XSLT the Abili, Khun Yee Fung | 
| Re: Passing a parameter to an XSL d, David Carlisle | Date | Any Chance of Giving XSLT the Abili, Khun Yee Fung | 
| Month |