# Xml file not reading properly

**URL:** <https://forum.kirupa.com/t/xml-file-not-reading-properly/317669>\
**Category:** Uncategorized\
**Created:** [December 29, 2010, 3:06pm UTC](https://forum.kirupa.com/t/xml-file-not-reading-properly/317669 "2010-12-29T15:06:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan\_harmon](https://avatars.discourse-cdn.com/v4/letter/n/50afbb/32.png) [@nathan\_harmon](https://forum.kirupa.com/u/nathan_harmon)\
**Post date:** [December 29, 2010, 3:06pm UTC](https://forum.kirupa.com/t/xml-file-not-reading-properly/317669/1 "2010-12-29T15:06:42Z")

</div>

I am trying to import an xml file with multiple sections of HTML. It looks like:

\<?xml version=“1.0” encoding=“utf-8”?\>  
\<htmlcontent\>

\<application\>  
\<title\>Site Deployment\</title\>  
\<headerimage\>image1.png\</headerimage\>  
\<backgroundimage\>bg1.png\</backgroundimage\>  
\<content\>\<p\> HTML CONTENT HERE \<p/\>\</content\>  
\</application\>

\<application\>  
\<title\>Site Deployment\</title\>  
\<headerimage\>image1.png\</headerimage\>  
\<backgroundimage\>bg1.png\</backgroundimage\>  
\<content\>\<p\>HTML CONTENT 2 HERE\<p/\>\</content\>  
\</application\>  
\</htmlcontent\>

Whenever flash sees an html tag such as \<p\> or \<img src=""\> it stops reading the xml file at that point. I currently have it working with each application in its own xml file, but that is messy and I would rather it all be in one place. Any help would be appreciated.

Thanks!
