This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: No Subject
- To: "XSL-List at mulberrytech dot com" <XSL-List at mulberrytech dot com>
- Subject: Re: No Subject
- From: "Priya Pinto" <itfresher at rediffmail dot com>
- Date: 9 Oct 2000 05:59:07 -0000
- CC: "rajeshr at chennai dot tcs dot co dot in" <rajeshr at chennai dot tcs dot co dot in>
- Reply-To: xsl-list at mulberrytech dot com
Try this,
<input type="text" name="title" size="30">
<xsl:attribute name="value">
<xsl:value-of select="title"/>
</xsl:attribute>
</input>
Priya
------------- Original Message --------------
"Raman Rajesh" <rajeshr@chennai.tcs.co.in> wrote:
To:XSL-List@mulberrytech.com
From:"Raman Rajesh" <rajeshr@chennai.tcs.co.in>
Date:Mon, 9 Oct 2000 10:06:58 +0530
Subject: No Subject
Hi All,
I have started working on XML recently. I have a fairly simple requirement, but
do not have a solution as yet.
The requirement is- to populate the value of the text input element in HTML from
the data in XML using a XSL.
<INPUT TYPE="TEXT" NAME="NAME_TEXT" VALUE= xxxx> </INPUT>
The value for the Text has to be substituted by a data element from XML.
It would be fairly straight forward to place XML data in HTML where the value of
the element is specified outside the tags ie outside the < & > ( opening and
closing angle brackets) as shown below:
<td><xsl:value-of select="TITLE"/></td>
or in a <option> tag
But to place the XML data in a HTML within the tags (< & > ) like a "text" box
is something i have a difficulty with.
Does any one know of means of achieving?
Thanks
Rajesh
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________
Get Your Free Email At, http://www.rediffmail.com
For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list