SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 212 | Next

Scott Klein

"Professional LINQ"


This chapter builds on what you learned in Chapter 5, ??????Understanding LINQ to XML??™??™??”the programming
fundamentals and
concepts that are prevalent in working with XML documents and LINQ to XML, and how to work
with elements and attributes using the XElement and XAttribute classes.
This chapter, then, tackles the following:
??‘ Constructing and creating XML trees
??‘ Manipulating XML trees
??‘ Serializing XML trees
Creating Trees
Programming with LINQ to XML, as you found out in the last chapter, is straightforward. Through
the many classes of the System.Xml.Linq namespace, developers can create and manipulate XML
trees with ease.
You can create XML trees in both C# and Visual Basic .NET, but the manner in which they are
created is quite different. The following sections examine the creation of XML trees in both
languages, and discuss the differences developers need to know for their respective language.
Part II: LINQ to XML
Creating Trees in C#
Creating XML trees in C# is done using the XElement class. This class provides all the necessary
functionality to create and manipulate XML documents and trees.


Pages:
200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6