xsl-list
[Top] [All Lists]

RE: Empty text area issue

2004-04-23 09:00:59
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk] 

If you are generating xhtml but trying to fool an html 
browser into reading it, do something like
   <textarea>
        <xsl:value-of select="." />
<xsl:text> </xsl:text>
    </textarea>

which will make sure there is always at least a space there.


Or you can do

<xsl:value-of select='concat(.,"  ")'/>

Cheers,

Tom P


<Prev in Thread] Current Thread [Next in Thread>