How to: Retrieve a Collection of Elements (LINQ to XML)
This topic demonstrates the Elements method. This method retrieves a collection of the child elements of an element.
This example iterates through the child elements of the purchaseOrder element.
This example uses the following XML document: Sample XML File: Typical Purchase Order (LINQ to XML).