Prev | Current Page 17 | Next

Satheesh, N Kumar

"LINQ Quickly"


XElement Icecream = new XElement("Icreceram", "Chocolate Fudge");
The XML document feature is still supported for adding information like processing
instructions and comments to XML.
LINQ to XML has better features than DOM for handling names and namespaces,
fragments, loading XML, inner XML, annotations, and schema information.
Functional construction is a new approach taken by LINQ to XML for constructing
XML elements. Using functional construction, we can create the entire XML tree
in a single statement. XElement is the main class used for the construction. It has
different constructors by which we can construct an XML tree. We will see this in
detail later when we discuss functional construction. This is one of the important
features of LINQ to XML.
LINQ to XML has a set of classes under its hierarchy structure for constructing
and manipulating XML data. XElement, XNode, XName, XContainer, XAttribute
and XText are some of the classes in the hierarchy. XElement is the main class for
building and manipulating the XML tree.


Pages:
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
katalog stron szambo betonowe wierszyki dieta light katalog stron