CodeKicks.com
Focus on Microsoft Technologies - Tutorials, Articles, Code Samples.

Tuesday, October 03, 2006

Improve XML Manipulations with XmlWriter, XmlReader and XPathDocument

Improve XML Manipulations with XmlWriter, XmlReader and XPathDocument

Wednesday, September 20, 2006, 12:57:49 AM | Keyvan NayyeriGo to full article
Alexey had two informative comments (1, 2) forone of myrecent posts about using StringWriter and XmlTextWriter to generate XML files on fly. He had pointed me to an article on MSDN about some better alternatives for objects I had used in my code in .NET 2.0. He recommended me to useXmlWriter, XmlReader and XPathDocument instead of XmlTextWriter andXmlDocument. Before stepping in details I should send my thanksgivings to him (if he hadn't sent these comments, I was coding with that old badaddictionin .NET 2.0). He also has had a few feedbacks on some of my posts but I can't read them because couldn't find any online translator. Bythose replacements, initially I could update my old class as what you'll see. I just replaced XmlTextWriter with XmlWriter...(read more)

Post a Comment