I've searched around alot and can't seem to find an answer to this question regarding how to code for Firefox and IE and how they handle the getElementByTagName differently.
Given this XML:
<pubDate>Fri, 15 Jun 2007 04:53 PDT</pubDate>
<description>SACRAMENTO -- It can offer a wine at the Davis Food Co-op that goes with roasted turkey, tell you whether hamburger or halibut pairs best with cabernet sauvignon, quote the discount price of a Chilean varietal or tell you all about the vineyard that produced a bottle of Argentinian ros&#233;.</description>
var items = xml.getElementsByTagName('item');//grab the first item node
var title = items.childNodes.firstChild.nodeValue;//Gourmet gizmo
however in firefox, this may or may not be the firstchild (childNodes) and if I wanted the description from the above (items.childNodes) I'm a total loss, because firefox says I have 11 child nodes above and not 5.
If I haven't already lost you and you know of a simple solution I'm totally willing to entertain any ideas.
Thanks in advance!