title: Flash AS2.0 - Read <li> tags from XML
body: <p>I have an XML document, and contained within one of the nodes, I have <code>&lt;li&gt;</code> tags. I don't need <code>&lt;ul&gt;&lt;/ul&gt;</code> tags for Flash because it only accepts <code>&lt;li&gt;</code> tags anyway. For example, here's part of the XML doc:</p>
  
  <pre><code>&lt;node&gt;
   &lt;li&gt;item1&lt;/li&gt;
   &lt;li&gt;item2&lt;/li&gt;
  &lt;/node&gt;
  </code></pre>
  
  <p>I want to put all the data within the <code>&lt;node&gt;</code> tags, <em>with bullets</em>, into a TextArea component in Flash 8.
  Note that my textArea is set to accept HTML, and that</p>
  
  <pre><code>textArea.text = "&lt;li&gt;This is bulleted text&lt;/li&gt;";
  </code></pre>
  
  <p>works just fine. However, the <code>&lt;li&gt;</code> tags within the XML document are being interpreted as a completely different node, which I obviously do not want. </p>
  
  <p>I tried using a CDATA tag within the XML, and it inputted everything between the <code>&lt;node&gt;</code> tags, <em>including</em> the <code>&lt;li&gt;</code> tags with all their brackets. It does that because <code>&lt;li&gt;</code>'s brackets are being interpreted with the equivalent "&amp; lt;" and "&amp; gt;" for the left/right brackets.</p>
  
  <p>So now I'm stuck with an unordered list in my XML file that I can't read into Flash. Unless, of course, somebody here can help me out?</p>