xsl-list
[Top] [All Lists]

RE: Re: XSL code

2003-06-16 14:08:12
<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(_at_)sarvega(_dot_)com] 
Sent: Monday, June 16, 2003 3:59 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_at_)kopent(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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(_at_)yahoo(_dot_)de] 
Sent: Monday, June 16, 2003 3:38 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>
  • RE: Re: XSL code, Tim Bachta <=