This is good example to get an idea of where Linq will help us. Linq comes with a set of features that greatly simplify the code needed to manipulate XML documents, either for querying them or for creating them.
Eric's post comes with the complete source code. I suggest you take a look at it so you can quickly make your own idea on Linq to XML.
You may also read this post by Steve Eichert, which highlights major improvements provided by Linq to XML.
Cross-posted from http://linqinaction.net