How to delete string from a XML file opened in a text editor in C#?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anupam roy
    New Member
    • Oct 2007
    • 19

    How to delete string from a XML file opened in a text editor in C#?

    Hi,

    I have created one XMLEditor and opened XML files in it.

    Before closing the file i am validating the xml file and if some invalid entries are present, i am able to fetch the row and column number of the error text in the file.

    Now i want delete that error text from the RichTextBox before saving the file.

    How to do that in C# .NET?

    Thanks,
    -ANupam
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Cross-posted here.

    Since this deals with such a specific C# class, it's unlikely you'll find an answer in the XML forum.

    Comment

    Working...