Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Showing "&" sign in XML file

Showing "&" sign in XML file

Scheduled Pinned Locked Moved XML / XSL
helpxmltutorialquestionlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rajeeshun
    wrote on last edited by
    #1

    As part of my program I should create a XML file and it should contain a URL. That URL is containing '&' sign. Whenever I put '&' sign in XML file, Internet exploerer is not taking it and showing error Following is a simple XML file Once I open this XML file in the IE, it gives following error " A semi colon character was expected. Error processing resource If I remove the & sign from the url, then XML file is opening and working fine How to solve this problem? Please let me know

    L K 2 Replies Last reply
    0
    • R Rajeeshun

      As part of my program I should create a XML file and it should contain a URL. That URL is containing '&' sign. Whenever I put '&' sign in XML file, Internet exploerer is not taking it and showing error Following is a simple XML file Once I open this XML file in the IE, it gives following error " A semi colon character was expected. Error processing resource If I remove the & sign from the url, then XML file is opening and working fine How to solve this problem? Please let me know

      L Offline
      L Offline
      logiclabz
      wrote on last edited by
      #2

      you show encode "&" to "&" in xml then your problem would be solved. ------------------------------------------------------------ Logiclabz

      modified on Thursday, March 26, 2009 3:11 AM

      1 Reply Last reply
      0
      • R Rajeeshun

        As part of my program I should create a XML file and it should contain a URL. That URL is containing '&' sign. Whenever I put '&' sign in XML file, Internet exploerer is not taking it and showing error Following is a simple XML file Once I open this XML file in the IE, it gives following error " A semi colon character was expected. Error processing resource If I remove the & sign from the url, then XML file is opening and working fine How to solve this problem? Please let me know

        K Offline
        K Offline
        K P Kannan
        wrote on last edited by
        #3

        Replace & with &

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups