469,293 Members | 1,319 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,293 developers. It's quick & easy.

XML " problem

2
My website is made in flash. I have a dynamic image gallery within. How flash knows what to load into my gallery is it refers to my .xml document. Within flash, it displays the picture, and then in the desc_txt, that is the object that loads in the text description from the .xml file. For some reason when the .xml loads the descriptions in, it does not recognize punctuation correctly. I'm not that familiar with xml, and I hate to just leave out punctuation. The description says this:

"Relax" is a piece of art that was inspired by Milton Glaser's "Dylan," and the old art nouveau style.

It should say this (and what it says in the .xml file):
"Relax" is a piece of art that was inspired by Milton Glaser's "Dylan," and the old art nouveau style.

Here is what that part of the .xml file looks like:

<?xml version="1.0"?>
<galleries>
<gallery title="Vector Graphics" intro="These are examples of my vector graphics that were made using Adobe Illustrator.">
<image>"Relax" is a piece of art that was inspired by Milton Glaser's "Dylan," and the old art nouveau style.</image>
</gallery>

Please help!
Sep 29 '08 #1
3 7605
Dormilich
8,651 Expert Mod 8TB
maybe there's something like magic_quotes (which will convert " and ' for security reasons...) you could try to replace them with the typographical punctuation (“ &#8220; ” &#8221; ’ &#8217;)

regards
Sep 30 '08 #2
katieh
2
Thank you so much, that worked!
Sep 30 '08 #3
Dormilich
8,651 Expert Mod 8TB
cool that it worked.

to be honest—it was a stab in the dark
Sep 30 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by barney | last post: by
5 posts views Thread by martin | last post: by
7 posts views Thread by DC Gringo | last post: by
14 posts views Thread by Arne | last post: by
7 posts views Thread by Kirt | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.