You also examined three of the more
common classes that you??™ll use when working with XML, including XElement and XAttribute.
The chapter coveredmany of the programming concepts that you need to know when working with XML
using LINQ to XML, including how to traverse an XML tree, add and remove elements and attributes,
and manipulate the tree??™s contents. You saw how to work with attributes in an XML document using
LINQ to XML, and learned that working with attributes is similar to working with elements due to the
architecture of LINQ and its integration into the .NET Framework.
Last, a comparison of LINQ to XML to other existing XML technologies was provided to give you an idea
of how LINQ to XML stacks up.
Chapter 6 discusses more in-depth programming features of LINQ to XML.
122
Programming with LINQ
to XML
LINQ to XML has many strengths, and one of the most valuable is its capability to quickly and
easily create XML documents and trees. LINQ to XML provides several different options through
which developers can create XML trees as well as modify and manipulate XML trees.
Pages:
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223