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
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
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
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.
***
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
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
> 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
7 matches
Mail list logo