# Xml parse works in IC but not FF?

**URL:** <https://forum.kirupa.com/t/xml-parse-works-in-ic-but-not-ff/277818>\
**Category:** Uncategorized\
**Created:** [December 17, 2008, 3:31pm UTC](https://forum.kirupa.com/t/xml-parse-works-in-ic-but-not-ff/277818 "2008-12-17T15:31:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrndMasterFlash](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Post date:** [December 17, 2008, 3:31pm UTC](https://forum.kirupa.com/t/xml-parse-works-in-ic-but-not-ff/277818/1 "2008-12-17T15:31:10Z")

</div>

could some one give me an idea why my xml only gets parsed by IE and not FF?

much thanks for any clues (-:

```auto
 
 
function parseArticlesList()
{
try //Internet Explorer
  {
  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
  }
catch(e)
  {
  try //Firefox, Mozilla, Opera, etc.
    {
    xmlDoc=document.implementation.createDocument("","",null);
    }
  catch(e)
    {
    alert(e.message);
    return;
    }
  }
 xmlDoc.async = false;
 xmlDoc.load("scripts/articles.xml");
 var articles = new Array();
 var i = 0;
 var i2 = 0;
 var artParent = xmlDoc.getElementsByTagName("posts")[0];
 
 alert(artParent.childNodes[3].childNodes[0].nodeValue);
 for(i;i<10;i++)
 {
  articles.push(artParent.childNodes*);
 }
 for(i2;i2<articles.length;i2++)
 {
  document.write(articles[i2].childNodes[0].nodeValue+"<br/>");
 }
}
 

```

_ **edit** _  
if you want to see it in action go to, and notice the left column

[http://www.wearechangevirginia.org/new](http://www.wearechangevirginia.org/new)
