Advertisement

06.12.2008 at 05:25PM PDT, ID: 23481504
[x]
Attachment Details

Parse XML to SQL Server

Asked by bpfsr in Extensible Markup Language (XML), MS SQL Server, Microsoft Visual Basic.Net

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</ItemID>
  <ViewItemURLForNaturalSearch>http://product.half.ebay.com/Harry-Potter-and-the-Sorcerers-Stone-Jill-Daniels-Hardcover-</ViewItemURLForNaturalSearch>
  <Location>Vienna, VA</Location>
- <Seller>
  <FeedbackScore>28</FeedbackScore>
  </Seller>
  <CurrentPrice currencyID="USD">5.49</CurrentPrice>
- <Storefront>
  <StoreURL>http://shops.half.ebay.com/d4ree_W0QQsellerZd4ree</StoreURL>
  <StoreName>d4ree</StoreName>
  </Storefront>
  <Country>US</Country>
  <HalfItemCondition>BrandNew</HalfItemCondition>
  <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
[+][-]06.12.2008 at 06:44PM PDT, ID: 21775149

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 06:55PM PDT, ID: 21775190

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 07:13PM PDT, ID: 21775253

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 07:15PM PDT, ID: 21775261

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.12.2008 at 07:25PM PDT, ID: 21775293

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Extensible Markup Language (XML), MS SQL Server, Microsoft Visual Basic.Net
Sign Up Now!
Solution Provided By: fesnyng
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628