# Cannot display xml when file.jpg is in it? (parsing xml with php)

**URL:** <https://forum.kirupa.com/t/cannot-display-xml-when-file-jpg-is-in-it-parsing-xml-with-php/324318>\
**Category:** Uncategorized\
**Created:** [August 14, 2011, 4:39pm UTC](https://forum.kirupa.com/t/cannot-display-xml-when-file-jpg-is-in-it-parsing-xml-with-php/324318 "2011-08-14T16:39:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smittenbite](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@smittenbite](https://forum.kirupa.com/u/smittenbite)\
**Post date:** [August 14, 2011, 4:39pm UTC](https://forum.kirupa.com/t/cannot-display-xml-when-file-jpg-is-in-it-parsing-xml-with-php/324318/1 "2011-08-14T16:39:34Z")

</div>

I just tried to use [http://www.kirupa.com/web/xml\_php\_parse\_intermediate.htm](http://www.kirupa.com/web/xml_php_parse_intermediate.htm) this script except it won’t display the info in the xml file if it is a filename? for example \<file\>thing.jpg\</file\> wont display. I am not trying to display the actual picture, just the words between the tags. It will display and everything else works. Any clues as to why this is?
