Blank Nodes In IE
Hey guys, I'm new here so apologies if this is in the wrong place or whatever.
I currently have a website that pulls in some XML. Every browser loves it, but (surprise!) Internet Explorer can't pull in anything past the first empty node.
You can see this in action here:
Please help me! I will love you forever!
You document has no Doctype, no HTML, no HEAD and no BODY. Some of them, in different conditions, are not required, but all of them, in your case, might bring errors. The Doctype is a must.
1. swfobject is not defined
2. handler is undefined
3. document.getElementById("curtains") is null
Regarding the XML, you have some empty tags <SPOTIFY></SPOTIFY>. It looks like IE consider them as absolutely empty, thus without any textNode which could be the childNodes
you may try
x[i].getElementsByTagName('SPOTIFY').textContent || x[i].getElementsByTagName('SPOTIFY').text
Wait a minute... are you God? That XML worked perfectly, thank you soooo much!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread