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. C# and XML

C# and XML

Scheduled Pinned Locked Moved C#
csharpxmltutorialquestionlearning
6 Posts 6 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.
  • H Offline
    H Offline
    humblepgmr
    wrote on last edited by
    #1

    I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.

    P Mike HankeyM E L R 5 Replies Last reply
    0
    • H humblepgmr

      I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.

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

      The obvious place to start is by reading the Framework documentation for the XML-related classes on MSDN. It's pretty dry stuff, but there will be small samples to get you going. I would also recommend TopXML[^]. I've found this site useful in the past when I've wanted to learn how to do something with XML in .NET.

      Paul Marfleet

      1 Reply Last reply
      0
      • H humblepgmr

        I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.

        Mike HankeyM Offline
        Mike HankeyM Offline
        Mike Hankey
        wrote on last edited by
        #3

        This site has many good articles and chapters from books that are very helpful....thats how I learned. Just put XML in search box and go with it. Good luck Mike

        Life is not measured by the number of breaths we take, but by the moments that take our breath away. "George Carlin"

        1 Reply Last reply
        0
        • H humblepgmr

          I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.

          E Offline
          E Offline
          Ennis Ray Lynch Jr
          wrote on last edited by
          #4

          System.IO.FileStream If it is an assignment this class will cover all of your bases the quickest.


          Need a C# Consultant? I'm available.
          Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

          1 Reply Last reply
          0
          • H humblepgmr

            I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #5

            humblepgmr wrote:

            I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file.

            Umm... reading and writing what? The .NET BCL provides good support for serialization.

            1 Reply Last reply
            0
            • H humblepgmr

              I'm learning C# and have been given an assignment with a flexible requirement of reading / writing to a file. I'm thinking of trying XML as a possible format for saving and retrieving data. I've tried googling this but a couple of the sites I've gone too look complicated (perhaps it's complicated because I don't know how to relate XML with C# ?) Can anyone suggest a basic tutorials / website that a newbie like myself can reference for the purpose of writing and reading an xml file? Thanks in advance.

              R Offline
              R Offline
              Ravi Bhavnani
              wrote on last edited by
              #6

              Does this[^] article help? /ravi

              This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

              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