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!

HTML INPUT want to display as text

Status
Not open for further replies.

Nosh

Programmer
Jul 12, 2001
34
GB
Hi Folks,

I am using XSL to render XML into HTML.

I have the following line:


<input name=&quot;line_no{$pos_no+1}&quot; value=&quot;{$pos_no+1}&quot; />

I do not want the display to show an input box, just plain text. How can I do this. I know I can disable the text box but it's not the look I want.

Cheers
Nosh
 
Try to use {$pos_no+1}
or <xsl:value-of select=&quot;$pos_no+1&quot;/>
directly instead of value of an input
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top