XML " problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • katieh
    New Member
    • Sep 2008
    • 2

    XML " problem

    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&quo t; is a piece of art that was inspired by Milton Glaser's "Dylan,&qu ot; 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
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    maybe there's something like magic_quotes (which will convert " and ' for security reasons...) you could try to replace them with the typographical punctuation (“ &#38;#8220; ” &#38;#8221; ’ &#38;#8217;)

    regards

    Comment

    • katieh
      New Member
      • Sep 2008
      • 2

      #3
      Thank you so much, that worked!

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        cool that it worked.

        to be honest—it was a stab in the dark

        Comment

        Working...