This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Using <xsl:param>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Using <xsl:param>
- From: "Khan, Amir" <amkhan at lehman dot com>
- Date: Fri, 8 Jun 2001 10:01:03 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Howard
In my XSL file i have :-
<xsl:param name="myParam"/>
This tells the transformer to expect a parameter called myParam.
In the application i wrote I just use transformer.setParamter("myParam",
"this is the value"); now thats in Java (Xalan-J), your implementation will
differ..
Amir
> -----Original Message-----
> From: Mulberry Technologies List Owner
> [SMTP:xsl-list-owner@lists.mulberrytech.com]
> Sent: Thursday, June 07, 2001 8:05 PM
> To: xsl-list
> Subject: [xsl] Using <xsl:param>
>
> >From: Howard Lim <Howard.Lim@US.NET56.net>
> >To: xsl-list@lists.mulberrytech.com
> >Subject: Help in using <xsl:param>
> >Date: Wed, 6 Jun 2001 17:49:35 -0500
> >MIME-Version: 1.0
> >X-Mailer: Internet Mail Service (5.5.2650.21)
> >Content-Type: text/plain;
> > charset="iso-8859-1"
> >
> >how to pass vbscript variable as a param using <xsl:param> to XSL file
> ???
> >
> >Is this the right way???
> >i have the following code in my asp code that call the XML and XSL file
> and
> >display them:
> ><%path="c:\mydir\"%>
> ><xsl:param name = "path" select = "<%=path%>" />
> >
> >and, i have the following in my XSL file:
> ><xsl:value-of select="item[$path]"/>
> >
> >can somebody please help me to use <xsl:param> correctly. Thank you.
> >
> >Howard
> >howard.lim@us.net56.net
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list