C# XML Support

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David

    C# XML Support

    Hi,

    I'm a newcomer to C# and I just wondered what the easiest way would be to
    read, write and modify an XML document from my C# program.

    If you could point me to a few good resources, it would be much appreciated.

    Thanks,
    David.


  • Peter Rilling

    #2
    Re: C# XML Support

    Well, if you need to be able to do all those operations at the same time
    (including modify), you only option would really be to use the XmlDocument
    and manipulate the tree that way.

    If you only need to read or write, then the easiest might be to us the
    XmlTextReader or XmlTextWriter.

    "David" <not@vailable.c om> wrote in message
    news:uerRDyP5DH A.2008@TK2MSFTN GP10.phx.gbl...[color=blue]
    > Hi,
    >
    > I'm a newcomer to C# and I just wondered what the easiest way would be to
    > read, write and modify an XML document from my C# program.
    >
    > If you could point me to a few good resources, it would be much[/color]
    appreciated.[color=blue]
    >
    > Thanks,
    > David.
    >
    >[/color]


    Comment

    Working...