RE: [Flashcoders] DECODE XML Encoded Characters?

2006-09-25 Thread Merrill, Jason
If this is related at all, or helps any, this is what I use to decode entities from an XML string - someone on this list suggested using XML.parseXML() private function decodeEntities(entityString:String):String { var x:XML = new XML(n+entityString+/n);

RE: [Flashcoders] DECODE XML Encoded Characters?

2006-09-25 Thread Giles Taylor
Those are html encodings. If you put them into an HTML textField as is they will work fine (if that is what you are after). Escape and unescape deal with URL encoding which is a different thing. If you want the html encoding to turn into the actual characters then I don't think flash can do it

RE: [Flashcoders] DECODE XML Encoded Characters?

2006-09-25 Thread Doug Coning
To: Flashcoders mailing list Subject: RE: [Flashcoders] DECODE XML Encoded Characters? If this is related at all, or helps any, this is what I use to decode entities from an XML string - someone on this list suggested using XML.parseXML() private function decodeEntities(entityString:String

RE: [Flashcoders] DECODE XML Encoded Characters?

2006-09-25 Thread Merrill, Jason
] On Behalf Of Doug Coning Sent: Monday, September 25, 2006 12:12 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] DECODE XML Encoded Characters? Thanks Jason, Yes, this does parse it correctly not so much because of the parseXML step, but because of the nodeValue. I've been using the XPath class

Re: [Flashcoders] DECODE XML Encoded Characters?

2006-09-25 Thread Terry May
: Monday, September 25, 2006 12:12 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] DECODE XML Encoded Characters? Thanks Jason, Yes, this does parse it correctly not so much because of the parseXML step, but because of the nodeValue. I've been using the XPath class to return my XML

RE: [Flashcoders] DECODE XML Encoded Characters?

2006-09-25 Thread Doug Coning
] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Doug Coning Sent: Monday, September 25, 2006 12:12 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] DECODE XML Encoded Characters? Thanks Jason, Yes, this does parse it correctly not so much because of the parseXML step, but because