Connecting Tech Pros Worldwide Forums | Help | Site Map

XML " problem

Newbie
 
Join Date: Sep 2008
Posts: 2
#1: Sep 29 '08
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!

Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,661
#2: Sep 30 '08

re: XML &quot; problem


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
Newbie
 
Join Date: Sep 2008
Posts: 2
#3: Sep 30 '08

re: XML &quot; problem


Thank you so much, that worked!
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,661
#4: Sep 30 '08

re: XML &quot; problem


cool that it worked.

to be honest—it was a stab in the dark
Reply