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);
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
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
] 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
: 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
] [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
6 matches
Mail list logo