Subj : Re: appendChild() with e4x To : netscape.public.mozilla.jseng From : Marco Mariani Date : Fri Aug 26 2005 07:47 pm Martin Honnen ha scritto: > So in the above case the toString method of that native XML object is > called which yields 'Text' and that is then parsed as a HTML snippet > and inserted into the foo element as its content meaning after that > assignment the foo element has one text child node with the content > 'Text'. > Is that what you want to achieve? You're right as far as my example is concerned, but I've replaced innerHTML=
Text
with innerHTML=Text, the text is italic and the DOM inspector sees the tag too. I was trying to simplify http://www.understandingxml.com/archives/2005/06/objectifying_xm.html, that uses innerHTML too. > Here is the E4X<-->DOM integration bug: > > Nothing has happened there for quite a while so I am not sure whether > there is any intention at all to have that integration available in > Firefox 1.5. Thank you. I'll be glad to use e4x to query xmlhttp objects, as it is simpler than xpath anyway, and look forward to 2.0 :-) .