Hello Rainer

Am 26.11.2008 um 11:10 schrieb Rainer Schöpf:

Hi Jürgen,

Hi Rainer

Am 26.11.2008 um 10:20 schrieb Rainer Schöpf:

On Tue, 25 Nov 2008 at 23:57 -0500, [EMAIL PROTECTED] wrote:

This counters your first post stating the TEXTAREA element is
collapsed.

No, it doesn't. As I explained in my first post, textarea elements are
collapsed when using the default sitemap. By changing type="xml" to
type="html"
in map:serialize, I get the code shown in my last message.



Did you try the xhtml serializer?
http://cocoon.apache.org/2.1/userdocs/xhtml-serializer.html

No, I didn't. I'm willing to try.

However, since the browsers have problems with XHTML, isn't the HTML serializer
the better way?

I think the problem here is not on the browser side; but rather not all elements are allowed to collapse in xhtml. I had the same misunderstanding a while ago - Richard Frovarp explained then that only some elements are allowed to be written in <element /> notation. Textarea is most likely not among them, nor is script.

I wouldn't use the html serializer (outdated not future proof code).


Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to