[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl to HTML

Subject: xsl to HTML
From: Rajesh.Jayabalan@xxxxxxxxxx
Date: Thu, 6 Jun 2002 16:34:40 -0400
xsl onfocus
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



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.