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

Re: Populating a HTML text box from XML

Subject: Re: Populating a HTML text box from XML
From: "Jason Rudisill" <jason@xxxxxxxxxxxxxx>
Date: Mon, 9 Oct 2000 12:51:08 -0400
html text box
When using data elements for attribute values you can do one of the
following depending on the HTML tag being used or your style (both come in
handy)....

<INPUT TYPE="TEXT" NAME="NAME_TEXT" VALUE="{element_name}" />

or

<INPUT TYPE="TEXT" NAME="NAME_TEXT">
    <xsl:attribute name="VALUE">
        <xsl:value-of select="TITLE" />
    </xsl:attribute>
</INPUT>


----- Original Message -----
From: "Raman Rajesh" <rajeshr@xxxxxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxx>
Sent: Monday, October 09, 2000 1:13 AM
Subject: Populating a HTML text box from XML


:
:
: 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
:


 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.