# Display raw XML with TextField.htmlText

**URL:** <https://forum.kirupa.com/t/display-raw-xml-with-textfield-htmltext/305352>\
**Category:** flash\
**Created:** [February 23, 2010, 10:18pm UTC](https://forum.kirupa.com/t/display-raw-xml-with-textfield-htmltext/305352 "2010-02-23T22:18:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oybrator](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/oybrator/32/1384_2.png) [@oybrator](https://forum.kirupa.com/u/oybrator)\
**Post date:** [February 23, 2010, 10:18pm UTC](https://forum.kirupa.com/t/display-raw-xml-with-textfield-htmltext/305352/1 "2010-02-23T22:18:39Z")

</div>

Is this at all possible?

I’m trying to write raw XML (tags, attributes, indents and all) in a text field. The problem is that the text field is using .htmlText, for text coloring, so I cannot simply use the .text property instead. The result is that the XML tags are interpreted as HTML and subsequently only their contents are shown.
