RE: Using <xsl:param>
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: 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format