On 4/4/07, Steven Loe <[EMAIL PROTECTED]> wrote:
I'm loading xml with special characters. These display as their entity codes
i.e. "&" as "&". If I put enitity codes in the xml, I still get entity
codes displaying on screen. What am I doing wrong? Any thoughts? Thanks!!!

This:

                        theClip.txt.text = xmlNode.firstChild.firstChild;

...should be:

                          theClip.txt.htmlText = xmlNode.firstChild.firstChild;

Better:
                          theClip.txt.htmlText =
xmlNode.firstChild.firstChild.nodeValue;

Even better:
                          theClip.txt.htmlText =
xmlNode.firstChild.childNodes.join("");

--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry & Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to