Difference method for Parse XML with C#

If you're .NET 2.0, try XmlReader and it's subclasses XmlTextReader, XmlValidatingReader provide a fast, lightweight (memory usage etc), forward only way to parse an XML file.

If you need XPath capabilities try the XPathNavigator. If you need the entire document in memory try XmlDocument.

posted on 2010-03-08 00:49  jerry data  阅读(138)  评论(0编辑  收藏  举报