Re: DOM Bug?



motion musso: aka sathia wrote:
Jerry Stuckle wrote:
I haven't tried this particular one, but is it maybe considered a child
node of the textarea?

nope, it pure text, but...


I'm just not sure if this is valid xml or not - don't know if you can
have an img within a textarea.


you should not consider it as a node, but it should be valid as text (ie:
let's say I have a CMS in which i need to enter an embed tag from a
textarea, (an input field would do the trick) )

the problem is that for php it isn't text but it isn't a node as well.




No, &lt;img src="foobar" /&lt; would be text. <img src="foobar"\> should be a node.

< and > are not legitimate XML characters, other than as tag delimiters.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.