# Having a big problem getting xml into as3 and working with it

**URL:** <https://forum.kirupa.com/t/having-a-big-problem-getting-xml-into-as3-and-working-with-it/291832>\
**Category:** Uncategorized\
**Created:** [July 6, 2009, 2:52pm UTC](https://forum.kirupa.com/t/having-a-big-problem-getting-xml-into-as3-and-working-with-it/291832 "2009-07-06T14:52:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaudiovisual](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@chaudiovisual](https://forum.kirupa.com/u/chaudiovisual)\
**Post date:** [July 6, 2009, 2:52pm UTC](https://forum.kirupa.com/t/having-a-big-problem-getting-xml-into-as3-and-working-with-it/291832/1 "2009-07-06T14:52:43Z")

</div>

Hi everyone, just thought I would christen my [kirupa.com](http://kirupa.com) forum membership by hoping somebody could stop me from having a massive brain aneurysm…

so I have been following the brilliant tutorial on working with xml in as3 and I follow it perfectly but when I try to use my own code it wont work and I am getting this really annoying error:

TypeError: Error #1085: The element type “body” must be terminated by the matching end-tag “\</body\>”.  
at testing2\_fla::MainTimeline/LoadXML()  
at flash.events::EventDispatcher/dispatchEventFunction()  
at flash.events::EventDispatcher/dispatchEvent()  
at [flash.net](http://flash.net)::URLLoader/onComplete()

emphasis on the first line I would say. I am trying to load in a php file, would this matter as oppose to loading in an xml file directly?

/Conor
