Ranju wrote:
2)  What happens if you try to get the documentElement of that document?
3)  What happens if you try to get the childNodes of that document and
     look at its length?
Sorry for my ignorance, but what snippets of code do 2 & 3 correspond
to?

document.documentElement and document.childNodes.length in JS.

In C++, you'd need to look at nsIDOMDocument and nsIDOMNode respectively and see what exact types and such you need.

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to