RE: [xsl] Re: XSL code

Subject: RE: [xsl] Re: XSL code
From: "Tim Bachta" <tbachta@xxxxxxxxxx>
Date: Mon, 16 Jun 2003 16:08:12 -0500
<xsl:apply-templates><xsl:with-param name="report_name"
select="normalize-space(report-name)"></xsl:with-param></xsl:apply-templ
ates>


xsl:template match="BeginEndDate">
<xsl:param name="report_name"></xsl:param>
Test <xsl:value-of select="report_name"/>
	<tr>
		<td width="50%" nowrap="nowrap">
			<div class="titleSmall" nowrap="nowrap">Start
date:</div>
			<input class="inputLine date" title="Enter task
start date in form MM-DD-YYYY"
id="startDate{normalize-space($report_name)}" size="20"
value="06-01-2003" name="startDate{normalize-space($report_name)}"/>

Thanks

Tim Bachta
 
 

-----Original Message-----
From: Ritu [mailto:rkama@xxxxxxxxxxx] 
Sent: Monday, June 16, 2003 3:59 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Re: 

How are you passing the parameter to this template? Can you show the
code.


Ritu Kama
Sarvega Inc
745, McLintock Dr
Burr Ridge
IL - 60527
----- Original Message ----- 
From: "Tim Bachta" <tbachta@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, June 16, 2003 3:50 PM
Subject: RE: [xsl] Re: 


> Tried that with no luck.
> 
> Tim Bachta
>  
> 
> -----Original Message-----
> From: J.Pietschmann [mailto:j3322ptm@xxxxxxxx] 
> Sent: Monday, June 16, 2003 3:38 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Re: 
> 
> Tim Bachta wrote:
> 
> > I am trying to pass a xsl:param into an template how would I get the
> > parameter value out to use.  I have attached my xsl for reference.
> ...
> > <xsl:template match="BeginEndDate">
> > <xsl:param name="report_name"></xsl:param>
> ...
> >                     <span class="butBlue" id="taskStartDate"
> > returnId="startDate{normalize-space(report_name)}"
> > onclick="tdDateCalendar()"><----Here is where I want to use variable
> 
> Try
>    returnId="startDate{normalize-space($report_name)}"
> 
> J.Pietschmann
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 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