How do nested tags work in E4X?
Suppose I开发者_JS百科 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.
精彩评论