XNamespace nsCustomer = "http://schemas.devleap.com/Customer";
XNamespace nsAddress = "http://schemas.devleap.com/Address";

XElement customer = new XElement(nsCustomer + "customer",
new XAttribute("id", "C01"),
new XElement(nsCustomer + "firstName", "Paolo"),
new XElement(nsCustomer + "lastName", "Pialorsi"),
new XElement(nsAddress + "addresses",
new XElement(nsAddress + "address",
new XAttribute("type", "email"),
	"paolo@devleap.it"),
new XElement(nsAddress + "address",
new XAttribute("type", "home"),
	"Brescia - Italy")));
