C# escape function in XML ????

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • genc_ ymeri at hotmail dot com

    C# escape function in XML ????

    Hi ,
    Does .Net have any method/function that escape charcters while writing a XML
    file ????

    Thank you in advance.


  • Lowell Heddings

    #2
    Re: C# escape function in XML ????

    genc_ ymeri at hotmail dot com wrote:[color=blue]
    > Hi ,
    > Does .Net have any method/function that escape charcters while writing a XML
    > file ????
    >
    > Thank you in advance.
    >
    >[/color]

    Use the XmlDocument or XmlTextWriter components to create your XML
    document. They will automatically escape the chars for you.

    Lowell

    Comment

    • genc_ ymeri at hotmail dot com

      #3
      Re: C# escape function in XML ????

      oh, that's even better :) :)


      thnx

      "Lowell Heddings" <lowell@mindjun ction.com> wrote in message
      news:%23D81N5V4 EHA.524@TK2MSFT NGP09.phx.gbl.. .[color=blue]
      > genc_ ymeri at hotmail dot com wrote:[color=green]
      >> Hi ,
      >> Does .Net have any method/function that escape charcters while writing a
      >> XML file ????
      >>
      >> Thank you in advance.[/color]
      >
      > Use the XmlDocument or XmlTextWriter components to create your XML
      > document. They will automatically escape the chars for you.
      >
      > Lowell
      >[/color]


      Comment

      Working...