[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: XSL code
<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: 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: 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: 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
|
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
|