![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveIE and Mozilla recognize CDATA nodetype differently
From: Aziz <rass.elma@googlemail.com>
Date: Sat Feb 04 2006 - 16:54:22 CET
Hi Folks
<?xml version="1.0"?>
The xml tree is the responseXML part of an XmlHttpRequest and is stored
xmldoc.getElementsByTagName("results")[0].childNodes[0].nodeType -->
xmldoc.getElementsByTagName("results")[0].childNodes[1].nodeType -->
I added a non empty text node to the result element:
Now I get this:
Does someone have an explanation for this behaviour?
I am using Mozilla 1.5 and IE 6
Cheers,
|