Re: [xsl] <textarea>, HTML and CDATA

Subject: Re: [xsl] <textarea>, HTML and CDATA
From: Anode <anode@xxxxxxxxxxxx>
Date: Mon, 03 Feb 2003 21:15:20 -0500
On 2/3/03 8:57 PM, "Mike Brown" <mike@xxxxxxxx> wrote:

> Anode wrote:
>> I'm having trouble figuring out how to transform to a textarea tag
>> containing unescaped XHTML.
> The content of a textarea element is not allowed to be "unescaped". It is
> character data. What is the input XML you have and what is the output XHTML
> you really need?

For example
<strong>Hello, World!</strong>
Output XHTML
<textarea rows = "5" columns = "50">
<strong>Hello, World!</strong>

The purpose would be to provide a textarea with code my visitors can cut and
paste.  Hope that clears it up a bit.


 XSL-List info and archive:

Current Thread