|
Subject: RE: [xsl] Using <xsl:param> From: "Khan, Amir" <amkhan@xxxxxxxxxx> Date: Fri, 8 Jun 2001 10:01:03 +0100 |
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@xxxxxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, June 07, 2001 8:05 PM
> To: xsl-list
> Subject: [xsl] Using <xsl:param>
>
> >From: Howard Lim <Howard.Lim@xxxxxxxxxxxx>
> >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> >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@xxxxxxxxxxxx
>
>
> 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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] NIST Tests, Carmelo Montanez | Thread | [no subject], Howard Lim |
| [xsl] xsl:varaible, Janning Vygen | Date | Re: [xsl] xsl:varaible, Dimitre Novatchev |
| Month |