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. Degree symbol ° in xml

Degree symbol ° in xml

Scheduled Pinned Locked Moved XML / XSL
htmlxmljsonhelpquestion
2 Posts 2 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.
  • G Offline
    G Offline
    Gokul P
    wrote on last edited by
    #1

    Hi, I have included the degree symbol in a xml file using ° and now i need to parse the contents in the xml file into a html file. After parsing the special character (°) is displayed as ° in html file. Vb code used for parsing: ------------------------- dim xmldom Set xmldom = CreateObject("Msxml2.DOMDocument.4.0") xmldom.load "C:\Tmp\sample.xml" If not xmldom is nothing then xmldom.save "C:\Tmp\sample.htm" msgbox "Html file written" End If sample.xml file ---------------- ° Could any one help why the degree symbol is not get included in the html file correctly ?

    G 1 Reply Last reply
    0
    • G Gokul P

      Hi, I have included the degree symbol in a xml file using ° and now i need to parse the contents in the xml file into a html file. After parsing the special character (°) is displayed as ° in html file. Vb code used for parsing: ------------------------- dim xmldom Set xmldom = CreateObject("Msxml2.DOMDocument.4.0") xmldom.load "C:\Tmp\sample.xml" If not xmldom is nothing then xmldom.save "C:\Tmp\sample.htm" msgbox "Html file written" End If sample.xml file ---------------- ° Could any one help why the degree symbol is not get included in the html file correctly ?

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      In order to include the degree symbol in your XML document, it can be represented as °.

      "We make a living by what we get, we make a life by what we give." --Winston Churchill

      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