Developer, Former MVP, now at Microsoft - Best of 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
Item
Title
var res = from ia in XElement.Parse(e.Result).DescendantsAndSelf("ItemAttributes") select ia.Element("Title").Value;
void SomeMethod(){ var res = from ia in XElement.Parse(e.Result).DescendantsAndSelf(n("ItemAttributes")) select ia.Element(n("Title")).Value; // TODO use res}static XName n(string name){ return XNamespace.Get("http://webservices.amazon.com/AWSECommerceService/2005-10-05") + name;}
Dim res = _ From ia In XElement.Parse(e.Result)...<n:ItemAttributes> _ Select ia...<n:Title>.Value()
n
Imports <xmlns:n="http://webservices.amazon.com/AWSECommerceService/2005-10-05">