xsl-list
[Top] [All Lists]

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

2006-10-31 15:05:09
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(_at_)kjernsmo(_dot_)net
Homepage: http://www.kjetil.kjernsmo.net/     OpenPGP KeyID: 6A6A0BBC

--~------------------------------------------------------------------
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>
--~--