var ordersWithCustomersFromXml =
from c in xmlCustomers.Elements("customer")
let xName = (String)c.Element("name")
let xCity = (String)c.Attribute("city")
join o in orders
on xName equals o.Name
orderby xName
select new {
Name = xName,
City = xCity,
IdProduct = o.IdProduct,
Quantity = o.Quantity };
