• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • 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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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