The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employer.
At-A-Glance: XmlReader vs. XPathNavigator vs. XmlDocument
Updated Link to this post 3:19:21 PM # comment [] trackback []
This is a great at-a-glance view of the XML options that .NET makes available to Developers. [From Aaron Skonnard's article by way of Don Box]
CHOICES |
PROS |
CONS |
XmlTextReader |
-Fastest -Most efficient (memory) -Extensible |
-Forward-only -Read-only -Requires manual validation |
XmlValidatingReader |
-Automatic validation -Run-time type info -Relatively fast & efficient (compared to DOM) |
-2 to 3x slower than XmlTextReader -Forward-only -Read-only |
XmlDocument (DOM) |
-Full traversal -Read/write -XPath expressions |
-2 to 3x slower than XmlTextReader/XmlValidatingReader -More overhead than XmlTextReader/XmlValidatingReader |
XPathNavigator |
-Full traversal -XPath expressions -XSLT integration -Extensible |
-Read-only -Not as familiar as DOM |
XPathDocument |
-Faster than XmlDocument -Optimized for XPath/XSLT |
-Slower than XmlTextReader |
Updated Link to this post 3:19:21 PM # comment [] trackback []
.NET Framework 1.1 Redistributable is out...
Updated Link to this post 12:43:37 PM # comment [] trackback []
.NET Framework 1.1 Final Bits. Looks like the final .NET Framework 1.1 bits are available: ... [Larkware News]
Updated Link to this post 12:43:37 PM # comment [] trackback []
Copyright 2003 Scott Hanselman
Theme Design by Bryan Bell