Subject: Re: [xsl] xsl to HTML From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Thu, 06 Jun 2002 23:05:40 +0200 |
Hi
In the following code I am trying to assign the value of the element "/root/publication/fromdt" to the text field named "from_dt" I have tried the following ways
<input style="width: 100px" maxlength="8" title="Choose Date" type="text" id ="From_Date" name="From_Date" value="{/root/publication/fromdt}" onFocus ="getCalendarFor(this); this.blur()" class="form"/>
<input style="width: 100px" maxlength="8" title="Choose Date" type="text" id ="From_Date" name="From_Date" value="{./ root/publication/fromdt}" onFocus="getCalendarFor(this); this.blur()" class ="form"/>
<input style="width: 100px" maxlength="8" title="Choose Date" type="text" id ="From_Date" name="From_Date" value="{./ root/publication/fromdt/text()}" onFocus="getCalendarFor(this); this.blur()" class="form"/>
<input style="width: 100px" maxlength="8" title="Choose Date" type="text" id ="From_Date" name="From_Date" value="{/ root/publication/fromdt/text}" onFocus="getCalendarFor(this); this.blur()" class ="form"/>
<xsl:variable name = "A1" select = "/root/publication/fromdt"></xsl:variable> AAAAAAA<xsl:value-of select="$A1"/>BBBB <input style="width: 100px" maxlength="8" title="Choose Date" type="text" id="From_Date" name="From_Date" value="{$A1}" onFocus ="getCalendarFor(this); this.blur()" class="form"/>
I am new to XSL so I do not know where I am going wrong non of the above method seem to work. I get blank. Kindly help.
Regards Rajesh J
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl to HTML, Rajesh . Jayabalan | Thread | RE: [xsl] xsl to HTML, Michael Kay |
Re: [xsl] Scope of Local Variables?, Joerg Heinicke | Date | [xsl] Re: XSL-List Digest V4 #421, Matt Gushee |
Month |