|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: wierd textarea behaviour with xsl
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








