Subject: RE: From: "Benz, Paul" <benzp2@xxxxxxx> Date: Mon, 9 Oct 2000 17:31:01 +1100 |
Rajesh, You can achieve your requirement as follows, <td> <input> <xsl:attribute name="TYPE">TEXT</xsl:attribute> <xsl:attribute name="name">NAME_TEXT</xsl:attribute> <xsl:attribute name="VALUE"><xsl:value-of select="TITLE"/></xsl:attribute> </input> </td> Regards, Benz -----Original Message----- From: Raman Rajesh [mailto:rajeshr@xxxxxxxxxxxxxxxxx] Sent: 09 October 2000 15:37 To: XSL-List@xxxxxxxxxxxxxxxx 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: No Subject, Priya Pinto | Thread | Merge two XML files of same structu, Benz, Paul |
Re: No Subject, Priya Pinto | Date | Merge two XML files of same structu, Benz, Paul |
Month |