To clarify - & is part of the XML spec and is nothing to do with
HTML. Just by coincidence, HTML has the same entity & defined.

A standards-conforming XML parser - which the Flash one is - will
always translate & into & within text nodes.

So when you extract the text node from the XML, any occurrence of
& will already have been replaced.

Same goes for < and >

Ian

On Thu, Jun 12, 2008 at 3:45 PM, Ian Thomas <[EMAIL PROTECTED]> wrote:
> Sidney - nope, the &amp; is taken care of at XML parse time.
>
> You'd only have to use htmlText if the string was:
>
> <dep>Fin &amp;amp; IT</dep>
>
> :-)
>
> Ian
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to