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. C#
  4. Read special caractors in XML

Read special caractors in XML

Scheduled Pinned Locked Moved C#
csharpdatabasexmltutorial
4 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.
  • D Offline
    D Offline
    Dushan123
    wrote on last edited by
    #1

    How to read special characters such as <,> in XML document in C#. I am passing sql statement from xml file to my c# program. SQL statement contain >,< characters. Please tell me a way escape these characters.

    Dushan Perera

    P 1 Reply Last reply
    0
    • D Dushan123

      How to read special characters such as <,> in XML document in C#. I am passing sql statement from xml file to my c# program. SQL statement contain >,< characters. Please tell me a way escape these characters.

      Dushan Perera

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      < and >

      D 1 Reply Last reply
      0
      • P PIEBALDconsult

        < and >

        D Offline
        D Offline
        Dushan123
        wrote on last edited by
        #3

        It's Not working

        Dushan Perera

        G 1 Reply Last reply
        0
        • D Dushan123

          It's Not working

          Dushan Perera

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Then you are doing it wrong. How are you creating the XML document?

          Despite everything, the person most likely to be fooling you next is yourself.

          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