# XML that is not E4X compatible? ()

**URL:** <https://forum.kirupa.com/t/xml-that-is-not-e4x-compatible/299570>\
**Category:** flash\
**Created:** [November 6, 2009, 9:54pm UTC](https://forum.kirupa.com/t/xml-that-is-not-e4x-compatible/299570 "2009-11-06T21:54:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anogar](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Post date:** [November 6, 2009, 9:54pm UTC](https://forum.kirupa.com/t/xml-that-is-not-e4x-compatible/299570/1 "2009-11-06T21:54:57Z")

</div>

For some reason I can’t get XML from the Facebook Flash API to parse into a proper XML document. I can do it with the old XMLDocument class, but that’s annoying. (FirstChild? Eeew.)

```auto
<?xml version="1.0" encoding="UTF-8"?>
<users_getInfo_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd" list="true">
  <user>
    <uid>100000518071401</uid>
    <pic_square>http://profile.ak.fbcdn.net/v222/52/121/q100000518071401_4261.jpg</pic_square>
  </user>
</users_getInfo_response>

```

What’s the deal? Do I have to set a namespace or something? I’ve never run into this issue before.
