Sample XML Documents (LINQ to XML)

The following example files are used in the code samples and code snippets throughout the LINQ to XML documentation.

Note

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, e-mail address, logo, person, places, or events is intended or should be inferred.

In This Section

Topic

Description

Sample XML File: Typical Purchase Order (LINQ to XML)

An XML document that contains a typical purchase order.

Sample XML File: Typical Purchase Order in a Namespace

An XML document in a namespace that contains a typical purchase order.

Sample XML File: Multiple Purchase Orders (LINQ to XML)

An XML document that contains multiple purchase orders.

Sample XML File: Multiple Purchase Orders in a Namespace

An XML document in a namespace that contains multiple purchase orders.

Sample XML File: Test Configuration (LINQ to XML)

An XML document that contains some pseudo test configuration data.

Sample XML File: Test Configuration in a Namespace

An XML document in a namespace that contains some pseudo test configuration data.

Sample XML File: Customers and Orders (LINQ to XML)

An XML document that contains customers and orders.

Sample XSD File: Customers and Orders

An Xml Schema Definition (XSD) that validates the Sample XML File: Customers and Orders (LINQ to XML).

Sample XML File: Customers and Orders in a Namespace

An XML document in a namespace that contains customers and orders.

Sample XML File: Numerical Data (LINQ to XML)

An XML document that contains data suitable for summing and grouping.

Sample XML File: Numerical Data in a Namespace

An XML document in a namespace that contains data suitable for summing and grouping.

Sample XML File: Books (LINQ to XML)

An XML document that contains a catalog of books.

Sample XML File: Consolidated Purchase Orders

Presents an XML document that contains purchase orders that are in different namespaces.

See Also

Concepts

Programming Guide (LINQ to XML)