I found out that the code I currently use to select media:thumbnail from an xml feed works in Firefox and IE9, but it isn't working in Chrome (returns undefined). The code I use: Code: itemXML.getElementsByTagName('media:thumbnail').length Code like this doesn't give any problems: Code: itemXML.getElementsByTagName('enclosure').length So it must be because of the ':' sign between 'media' and 'thumbnail'. I've tried backslashing it and some other things but haven't got it working yet it chrome. I'm using Google Feed API for grabbing the xml feeds. Has anyone got an idea how to do this properly?