[Flashcoders] quotes in XML

2006-08-08 Thread Elie Zananiri
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 using the LoadVars.sendAndLoad(script.php) function.

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:

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 Sebastian Wichmann
Betreff: Re: [Flashcoders] quotes in XML 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

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

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

[Flashcoders] Quotes in XML always require CDATA?

2006-05-30 Thread Merrill, Jason
Does it HAVE to be a CDATA node in order to safely include double quotes in an XML file? Be nice if I could do the following, but it's obvious why it breaks: item title=This is my String with quotes/ I'm using iso-8859-1 encoding in the XML, but I think UTF would be OK too. I'm grabbing it

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: item title=This is my String with

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

2006-05-30 Thread Merrill, Jason
PROTECTED] 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 XML file? Yes, to include any unescaped XML metacharacters