# XML parser in PHP problem

**URL:** <https://forum.kirupa.com/t/xml-parser-in-php-problem/216782>\
**Category:** programming\
**Created:** [February 20, 2007, 2:26pm UTC](https://forum.kirupa.com/t/xml-parser-in-php-problem/216782 "2007-02-20T14:26:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greggeh](https://avatars.discourse-cdn.com/v4/letter/g/8baadc/32.png) [@Greggeh](https://forum.kirupa.com/u/Greggeh)\
**Post date:** [February 20, 2007, 2:26pm UTC](https://forum.kirupa.com/t/xml-parser-in-php-problem/216782/1 "2007-02-20T14:26:54Z")

</div>

[SIZE=2]Ok so I did the xml parsing tutorial here ([http://www.kirupa.com/web/xml\_php\_parse\_intermediate.htm](http://www.kirupa.com/forum/../web/xml_php_parse_intermediate.htm))and got everything to work.

Now i want to make my XML file an RSS file so people can subcribe to the file. Now the problem is: As soon as i put  
[/SIZE][FONT=Arial][SIZE=3]\<rss version=“2.0”\>

underneath

[/SIZE][/FONT][SIZE=2][FONT=Arial][SIZE=3]\<?xml version=“1.0”?\>

the php file cant read the xml file anymore.

Does anyone know whats the problem here?[/SIZE][/FONT]  
[/SIZE]
