XLinq
.NET Language
Integrated Query
for XML Data
May
2006
Notice
© 2006 Microsoft Corporation. All rights reserved.
Microsoft, Windows,
Visual Basic, Visual C#, and Visual C++ are either registered trademarks or
trademarks of Microsoft Corporation in the
Other product and company names mentioned herein may be the trademarks of their respective owners.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, places, or events is intended or should be inferred.
Table of Contents
1. Introduction........................................................................................................................... 1
1.1
Sample XML...................................................................................................................... 1
2.
Programming XML with XLinq.............................................................................................. 3
2.1
XLinq Design Principles....................................................................................................... 3
2.1.1 Key Concepts............................................................................................................... 3
2.1.1.1 Functional
Construction........................................................................................... 3
2.1.1.2 Document
"Free".................................................................................................... 4
2.1.1.3 XML Names.......................................................................................................... 6
2.1.1.4 Text as value.......................................................................................................... 6
2.2
The XLinq Class Hierarchy.................................................................................................. 7
2.3
XML Names....................................................................................................................... 8
2.3.1.1 XML Prefixes and Output........................................................................................ 9