• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Storing XML

What is the most efficient way of storing and accessing large (>5000 characters) XML files please?
1 Solution
Carl TawnSystems and Integration DeveloperCommented:
XmlReader is fast, forward only access which has a low overhead. XmlDocument has larger footprint and is slower, but has more functionality.
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: http://www.perfectxml.com/articles/xml/csharp.asp
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now