I have a script that is pulling data from HDC in XML. The format of the response is basically as follows (some deletions for security)
- <Item>
<ItemID>340663905322</Item
ID>
<ViewItemURLForNaturalSear
ch>
http://product.half.ebay.com/Harry-Potter-and-the-Sorcerers-Stone-Jill-Daniels-Hardcover-</ViewIt
emURLForNa
turalSearc
h>
<Location>Vienna, VA</Location>
- <Seller>
<FeedbackScore>28</Feedbac
kScore>
</Seller>
<CurrentPrice currencyID="USD">5.49</Cur
rentPrice>
- <Storefront>
<StoreURL>
http://shops.half.ebay.com/d4ree_W0QQsellerZd4ree</Store
URL>
<StoreName>d4ree</StoreNam
e>
</Storefront>
<Country>US</Country>
<HalfItemCondition>BrandNe
w</HalfIte
mCondition
>
<SellerComments>Brand new item still in original plastic wrap. Ships fast!</SellerComments>
</Item>
Is there a program (most prefeably a FREE one) that will allow me to parse the XML into a SQL Server database? If so would it be possible to parse only selected data. For example if I wanted the price of the book but not the country. Or would I be able to do something like put the condition in one table and the price in another or would everything have to go in the same table?
Start Free Trial