Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

putting XSL:Value -of in text box 1

Status
Not open for further replies.

birney29

Programmer
Oct 11, 2001
140
GB
im trying to use XSL to take a value from an XML document and place it into an html text box, however i cant get it actuall in the text box. for example :

<input type=&quot;text&quot; name=&quot;textfield6&quot;>
<xsl:value-of select=&quot;/details/address&quot;/>

</input>

any help would be greatly appriciated

Kenny Kenneth Birney
User Interface Programmer
Scottish Police
 
Use the attribute function...

<input name=&quot;whatever&quot;><xsl:attribute name=&quot;value&quot;><xsl:value-of select=&quot;whatever&quot;/></xsl:attribute></input>

this will output in the html...

<input name=&quot;whatever&quot; value=&quot;whatever the value was in the xsl-value of&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top