Storing XML

Posted on 2006-03-29
Last Modified: 2010-04-16
What is the most efficient way of storing and accessing large (>5000 characters) XML files please?
Question by:caracalla
    LVL 52

    Expert Comment

    by:Carl Tawn
    XmlReader is fast, forward only access which has a low overhead. XmlDocument has larger footprint and is slower, but has more functionality.
    LVL 14

    Accepted Solution

    XmlTextWriter is the fastest way to write Xml files. Accessing can be done by the XmlTextReader. Reader is read-only and writer is Write-only.

    Some information on both can be found at:

    Featured Post

    Live - One-on-One C# Help from Top Experts

    Solve your toughest problems, fast.
    C# experts are online now and ready to help you.

    Join & Write a Comment

    Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
    Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now