xsl-list
[Top] [All Lists]

Re: [xsl] textarea xml/html ptoblem

2006-07-15 00:13:11
"Mohsen" == Mohsen Saboorian <mohsens(_at_)gmail(_dot_)com> 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.
method=html seems advisable - you can still specify the xhtml doctype.

Note that IE doesn't actually support xhtml, as you have just seen, so
you have to try to convince it you are serving it with legacy
html. The rules governing the implementation of the XSLT 2.0 xhtml
output method ensure you can do just that.
-- 
Colin Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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