Re: [xsl] textarea xml/html ptoblem

Subject: Re: [xsl] textarea xml/html ptoblem
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 17 Jul 2006 11:49:33 -0400
At 03:13 AM 7/15/2006, it was written:
>>>>> "Mohsen" == Mohsen Saboorian <mohsens@xxxxxxxxx> writes:

    Mohsen> I have a <textarea></textarea> somewhere in my xsl
    Mohsen> file. When transforming it to xhtml, the element is
    Mohsen> outputed as <textarea /> which leads to problem in IE (FF
    Mohsen> works fine). IE shows the next elements as textarea
    Mohsen> content value.  This problems solves when using <output
    Mohsen> method="xhtml" />, but this works only with XSLT 2.0. Is
    Mohsen> there any solution with 1.0?

I think there are no good solutions.

The usual workaround would be to output a comment or force some whitespace into the content of the textarea ... whether those constitute "good solutions" depends on how you define that.


Cheers,
Wendell

Current Thread