471,604 Members | 1,353 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,604 software developers and data experts.

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 7742
Dormilich
8,656 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,656 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 XIAOLAOHU | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.