Re: [Flashcoders] quotes in XML

2006-08-08 Thread David Rorex
On 8/8/06, Elie Zananiri <[EMAIL PROTECTED]> wrote: Hello all, I have an XML parsing question that I've been trying to solve for a little while now and I can't get it to work. I have a PHP script that loads text from an SQL db, formats it in an XML string and sends this string back to Flash usi

Re: [Flashcoders] quotes in XML

2006-08-08 Thread ryanm
I actually XML-encoded the string in PHP using pipes instead of ampersands and then converted the pipes back to ampersand in Flash once the string was received. The conversion from XML-encoding to regular characters is done automatically. Another solution would be to use the XML object in F

Re: [Flashcoders] quotes in XML

2006-08-08 Thread Sebastian Wichmann
Hi, try this: Flash: unescape(string); Regards, Sebastian Wichmann -Ursprüngliche Nachricht- Von: "Elie Zananiri" <[EMAIL PROTECTED]> An: "Flashcoders mailing list" Gesendet: Dienstag, 8. August 2006 20:28 Betreff: Re: [Flashcoders] quotes in XML

Re: [Flashcoders] quotes in XML

2006-08-08 Thread Elie Zananiri
Thanks, that worked! I actually XML-encoded the string in PHP using pipes instead of ampersands and then converted the pipes back to ampersand in Flash once the string was received. The conversion from XML-encoding to regular characters is done automatically. ***

RE: [Flashcoders] quotes in XML

2006-08-08 Thread Steven Sacks | BLITZ
Character substitution, perhaps? Use pipes | perhaps. Then, in Flash... myLoadedString.split("|").join("\""); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listin

RE: [Flashcoders] Quotes in XML always require CDATA?

2006-05-30 Thread Merrill, Jason
On Behalf Of Dave Watts >>Sent: Tuesday, May 30, 2006 1:25 PM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] Quotes in XML always require CDATA? >> >>> Does it HAVE to be a CDATA node in order to safely include >>> double "quotes" in an XM

RE: [Flashcoders] Quotes in XML always require CDATA?

2006-05-30 Thread Dave Watts
> Does it HAVE to be a CDATA node in order to safely include > double "quotes" in an XML file? Yes, to include any unescaped XML metacharacters, you must place them within a CDATA block. > Be nice if I could do the following, but it's obvious why it breaks: > > > > I'm using iso-8859-1 enc