Suppose I have the following XML:
var foo:XML = <root><a>this is a <b>special</b> case</a></root>
Is there any way to detect the position of <b>
relative to the contents of <a>
without a custom subparser?
Suppose I have the following XML:
var foo:XML = <root><a>this is a <b>special</b> case</a></root>
Is there any way to detect the position of <b>
relative to the contents of <a>
without a custom subparser?
You should wrap your data inside CDATA tags, So it isn't based as XML.
Then you can set a textfields htmlText property to get the formatting.