![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm having a hard time in using LINQ on XML returned from Amazon Webservices. I'm using the 2008 beta 2 on an XP machine. the code I'm using is: ========= Dim s As String s = "http://ecs.amazonaws.com/onca/xml?" & _ "Service=AWSECommerceService&" & _ "AWSAccessKeyId=1234&" & _ "AssociateTag=my-tag&" & _ "ResponseGroup=Small&" & _ "Operation=ItemSearch&" & _ "SearchIndex=Music&" & _ "Keywords=neil young" Dim ResponseDoc As Linq.XDocument = XDocument.Load(s) Dim ReturnedItems = From ReturnedItem In ResponseDoc.Descendants("Item") _ Select ASIN = ReturnedItem.Element("ASIN").Value, _ URL = ReturnedItem.Element("DetailPageURL").Value =========== ReturnedItems is always empty. Am I doing something wrong? Is Amazon XML wrong in some way? |
#3
| |||
| |||
|
|
Am I doing something wrong? Is Amazon XML wrong in some way? |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hello mudGil, Due to VS 2008 has not been final released so far, LINQ issue is not supported by MSDN Managed Newsgroup Team. If you have issue related to LINQ, you may also post it in MSDN Forum, http://forums.microsoft.com/MSDN/Sho...D=123&SiteID=1 The people in those groups will be more likely to be able to help and familiar in such field. If you have any more concern, please also feel free to update here. It's my pleasure to assist you. Have a great day, Best regards, Wen Yuan Microsoft Online Community Support ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Why did this happen to end up on my computer????????//// |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |