RE: [xsl] Empty text area issue

Subject: RE: [xsl] Empty text area issue
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Fri, 23 Apr 2004 12:00:59 -0400
> From: David Carlisle [mailto:davidc@xxxxxxxxx] 

> 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

Current Thread