Re: External node troubles [FF3 RC1]

noon <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <1ad4ea62-4e4a-48d5-ba08-19625e2f4780@s50g2000hsb.googlegroups.com>
On May 23, 12:26 pm, Boris Zbarsky <[email protected]> wrote:
> I've seen it a few times.  See
> <http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/content/base/src/ns...>.

Touché mozilla hacker, haha.

> You're really assigning that to adoptNode?  That's a little odd...  And why not
> use the responseXML instead of parsing it yourself?  In any case...

Can't use responseXML because it isn't XML, it's HTML, so I get a
return of null. http://developer.mozilla.org/en/docs/XMLHttpRequest#responseXML

So my course of action is instead of attempting to adopt a document
node, adopt an element.  How can I use the DOMParser or the same
effect without getting a document object? Or can I strip the rest of
the child nodes from this document object?

Direction appreciated
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.