  | |  | Special character in Flash XML | Special character in Flash XML 2003-12-11 - By Greg Dunn
Back That one burned me for a while. They trick is to use .nodeValue instead of the default property. For example, if you use this:
name = [....]nextSibling.firstChild;
You'll get ' and all that... but if you use:
name = [....]nextSibling.firstChild.nodeValue;
Then you'll get an apostrophe instead of the HTML style tag for it.
Hope this helps!
-Greg
-- --Original Message-- -- From: dirgames-l-bounces@(protected) [mailto:dirgames-l-bounces@(protected)]On Behalf Of Ben Sent: Thursday, December 11, 2003 5:02 AM To: dirgames-l@(protected) Subject: [dirGames-L] Special character in Flash XML
Hi all,
I've been doing some XML importing in Director, but it seemed that the XML parser didn't fit our needs, so we decided to use a Flash Object to import en parse the xml. In the xml file, sometimes strings come up which contain special character, like '. " &
these character are rendered in director to be contained in a textfield. All the text comes up nice, but the special characters are rendered HTML style. Like this: &
Can someone tell me what we've been doing wrong?
Thanks, Benjamin
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ dirGames-L mailing list - dirGames-L@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ dirGames-L mailing list - dirGames-L@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l
Earn $52 per hosting referral at Lunarpages.
|
|
 |