Re: [xsl] CDATA or escape in the result tree problems

Subject: Re: [xsl] CDATA or escape in the result tree problems
From: Kjetil Kjernsmo <kjetil@xxxxxxxxxxxx>
Date: Tue, 31 Oct 2006 23:07:17 +0100
Thanks for the quick response!

On Monday 30 October 2006 10:05, Michael Kay wrote:
> If it's XHTML then it's in a namespace, which means it isn't called
> "textarea" but "xhtml:textarea".

Uh, right, yeah, I probably neither had sufficient understanding nor did 
I explain it clearly enough.

The textarea element is in the default namespace of the stylesheet, I 
have not assigned any namespace to that. The fragment I get from 
TinyMCE is asserted to be XHTML under some conditions I think I have 
met, but I have not actually seen a namespace on these elements either. 

I suspect "valid XHTML" ignores a few things, such as the namespace 
declaration. Also, TinyMCE gives me a whole document, but I manipulate 
the DOM in my application to only include children of the body.

I tried to insert a  xmlns:xhtml="http://www.w3.org/1999/xhtml"; and 
xhtml:textarea, but it made no difference.

Best,

Kjetil
-- 
Kjetil Kjernsmo
Programmer / Astrophysicist / Ski-orienteer / Orienteer / Mountaineer
kjetil@xxxxxxxxxxxx
Homepage: http://www.kjetil.kjernsmo.net/     OpenPGP KeyID: 6A6A0BBC

Current Thread