xml で Webservice 応答を取得しました。
<Items>
<Item>
<SmallImage>
<Url>http://xxx<url>
<height></height>
<weight></weight>
</SmallImage>
<LargeImage>
<Url>http://xxx<url>
<height></height>
<weight></weight>
</LargeImage>
<ItemAttributes>
<Binding>Apparel</Binding>
<Brand>Calvin Klein Jeans</Brand>
<Department>mens</Department>
<Title>Calvin Klein Jeans Men's Rusted Antique Skinny Jean</Title>
</ItemAttributes>
<SimilarProducts>
<SimilarProduct>
<ASIN>B0018QK10E</ASIN>
<Title>New Balance Men's M574 Sneaker</Title>
</SimilarProduct>
</SimilarProducts>
</Item>
</Items>
ここでは、タイトルを表示する必要があります。アイテム->アイテム->アイテム属性->タイトル
私はこのようにしてみました。
#region Product Title
var Title = xd.Descendants(ns + "Item").Select(b => new
{
PTitle = b.Element(ns + "ItemAttributes").Element(ns + "Title").Value
}).ToList();
#endregion
しかし、それは Object null を返します。さらに情報が必要な場合はお知らせください。前もって感謝します。