Subject: Re: <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
XML:
<codebox>
<strong>Hello, World!</strong>
</codebox>
Output XHTML
<form>
<textarea rows = "5" columns = "50">
<strong>Hello, World!</strong>
</textarea>
</form>
The purpose would be to provide a textarea with code my visitors can cut and
paste. Hope that clears it up a bit.
Thanks,
Anode
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- <textarea>, HTML and CDATA
- Anode - Mon, 3 Feb 2003 20:02:52 -0500 (EST)
- Mike Brown - Mon, 3 Feb 2003 20:56:04 -0500 (EST)
- Anode - Mon, 3 Feb 2003 21:16:00 -0500 (EST) <=
- Mike Brown - Mon, 3 Feb 2003 22:00:14 -0500 (EST)
- Anode - Mon, 3 Feb 2003 22:08:44 -0500 (EST)
- <Possible follow-ups>
- Passin, Tom - Tue, 4 Feb 2003 10:24:03 -0500 (EST)
|
|