LINQ to XML As a Better DOM
Just as LINQ to SQL intends to integrate relational database manipulation directly within .NET pro-
gramming languages, LINQ to XML aspires to the same goals for XML data processing. Not only can
you use LINQ to XML as a vehicle to obtain subsets of data from an existing XML document via
LINQ queries, this same API can be used to create, modify, and parse XML data. To this end, LINQ to
XML can be thought of as a “better DOM” programming model. As well, just as LINQ to SQL can
interoperate with ADO.NET types, LINQ to XML can also interoperate with many members of the
System.Xml.dll assemblies.
Do'stlaringiz bilan baham: |