System.Xml.XmlDocument = Voldemorte?

While Mike and I were preparing for a training session this weekend, it occured to me that the XmlDocument is turning into the Voldemorte of the System.Xml namespace.  No one really recommends you use it, in fact, most tell you to avoid it if you can.  It’s really a pretty evil class, and I’ve had to brow-beat more people than I can count out of the XML-is-slow mindset.  XmlReader and XPathNavigator are your friends.  Use them.

Henceforthe, XmlDocument shall be the class-that-shall-not-be-named, especially once System.Xml 2.0 hits the streets.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.