|
Subject: RE: [xsl] wierd textarea behaviour with xsl From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 12 Nov 2002 14:44:50 +0200 |
Hi,
> This is wierd. My xsl code is simple :
>
> <TR>
> <TD class="h4">Reason</TD>
> <TD>
> <textarea rows="5" cols="40" name="comment" class="textbox"
> value="{./currentStatus/comment}" />
> </TD>
> </TR>
[snip]
> But what is displayed is a textbox that contains
> </TD></TR></table><br/><TABLE and all the rest of the html for
> the page till the </html> tag.
>
> What the heck is going wrong? I can't see it. Please help.
Outputing something that is not HTML; the textarea element of HTML does not have a value attribute, instead use
<textarea rows="5" cols="40" name="comment" class="textbox">
<xsl:value-of select="./currentStatus/comment" />
</textarea>
Jarno - Leaether Strip: Worlds End
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] wierd textarea behaviour with, Declan Brennan | Thread | RE: [xsl] wierd textarea behaviour , Declan Brennan |
| RE: [xsl] key(), generate-id questi, Américo Albuquerque | Date | RE: [xsl] concatenating 1-n XML fil, Jarno . Elovirta |
| Month |