I have an XML document, and contained within one of the nodes, I have <li>
tags. I don't need <ul></ul>
tags for Flash because it only accepts <li>
tags anyway. For example, here's part of the XML doc:
<node>
<li>item1</li>
<li>item2</li>
</node>
I want to put all the data within the <node>
tags, with bullets, into a TextArea component in Flash 8.
Note that my textArea is set to accept HTML, and that
textArea.text = "<li>This is bulleted text</li>";
works just fine. However, the <li>
tags within the XML document are being interpreted as a completely different node, which I obviously do not want.
I tried using a CDATA tag within the XML, and it inputted everything between the <node>
tags, including the <li>
tags with all their brackets. It does that because <li>
's brackets are being interpreted with the equivalent "& lt;" and "& gt;" for the left/right brackets.
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?