# Loading "PHP-generated" XML

**URL:** <https://forum.kirupa.com/t/loading-php-generated-xml/229687>\
**Category:** flash\
**Created:** [June 19, 2007, 3:01pm UTC](https://forum.kirupa.com/t/loading-php-generated-xml/229687 "2007-06-19T15:01:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJSimpson](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@AJSimpson](https://forum.kirupa.com/u/AJSimpson)\
**Post date:** [June 19, 2007, 3:01pm UTC](https://forum.kirupa.com/t/loading-php-generated-xml/229687/1 "2007-06-19T15:01:55Z")

</div>

Hello,

I’m trying to load my php-generated xml. The xml2.php file generates the XML, and echoes it:

[http://www.f-manija.domenas.net/awards/xml2.php](http://www.f-manija.domenas.net/awards/xml2.php)

And I have this flash code:

> var my\_xml = new XML();  
> my\_xml.ignoreWhite = true;  
> my\_xml.onLoad = function(success) {

```
if (success) {

    bullcrap.text = my_xml.firstChild.childNodes[0].attributes.pav;

}

```

};  
my\_xml.load(“xml2.php”);

But the XML doesn’t load:

[http://www.f-manija.domenas.net/awards/Untitled-1.swf](http://www.f-manija.domenas.net/awards/Untitled-1.swf)

What am I doing wrong?.. Thanks for all of you, who try to help me.  
AJSimpson
