/ Jean-Christophe Broudin <[EMAIL PROTECTED]> was heard to say: | We have noticed that, with an XML file such as: | | <A> | <B> | <C> Bono </C> | </B> | </A> | | if one asks how many childs <A> tags owns (using getLength() on | getDocumentElement().getChildNodes() ), the answer is | 3. After investigation, whitespaces between <A> and <B>, then between | </B> and </A> are interpreted as text nodes. | | On the same example, the XML parser included in IE 5.0 ignores these | whitespaces and the answer is 1. We think that 1 is the correct answer.
The correct answer is three.