Click here to Skip to main content
12,451,425 members (49,812 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: XML
How to normalize this amazon xml with xslt or with sql query table output?

<?xml version="1.0"?><ItemLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="#"></Header></HTTPHeaders><RequestId>#</RequestId><Arguments><Argument Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Operation" Value="ItemLookup"></Argument><Argument Name="AssociateTag" Value="#"></Argument><Argument Name="Version" Value="2011-08-01"></Argument><Argument Name="SignatureMethod" Value="#"></Argument><Argument Name="SignatureVersion" Value="2"></Argument><Argument Name="Signature" Value="#"></Argument><Argument Name="MerchantId" Value="All"></Argument><Argument Name="ItemId" Value="#"></Argument><Argument Name="IdType" Value="ASIN"></Argument><Argument Name="AWSAccessKeyId" Value="#"></Argument><Argument Name="Timestamp" Value="2013-02-17T13:28:56.894Z"></Argument><Argument Name="ResponseGroup" Value="Offers"></Argument></Arguments><RequestProcessingTime>0.0260140000000000</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemLookupRequest><IdType>ASIN</IdType><MerchantId>Deprecated</MerchantId><ItemId>#</ItemId><ResponseGroup>Offers</ResponseGroup><VariationPage>All</VariationPage></ItemLookupRequest></Request><Item><ASIN>#</ASIN><OfferSummary><LowestNewPrice><Amount>3804</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$38.04</FormattedPrice></LowestNewPrice><TotalNew>1</TotalNew><TotalUsed>0</TotalUsed><TotalCollectible>0</TotalCollectible><TotalRefurbished>0</TotalRefurbished></OfferSummary><Offers><TotalOffers>1</TotalOffers><TotalOfferPages>1</TotalOfferPages><MoreOffersUrl>#</MoreOffersUrl><Offer><OfferAttributes><Condition>New</Condition></OfferAttributes><OfferListing><OfferListingId>#</OfferListingId><Price><Amount>3804</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$38.04</FormattedPrice></Price><AmountSaved><Amount>1596</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$15.96</FormattedPrice></AmountSaved><PercentageSaved>30</PercentageSaved><Availability>Usually ships in 10 to 13 weeks</Availability><AvailabilityAttributes><AvailabilityType>now</AvailabilityType><MinimumHours>1824</MinimumHours><MaximumHours>2088</MaximumHours></AvailabilityAttributes><IsEligibleForSuperSaverShipping>1</IsEligibleForSuperSaverShipping></OfferListing></Offer></Offers></Item></Items></ItemLookupResponse>
Posted 17-Feb-13 3:43am
Updated 17-Feb-13 4:05am
v3
Comments
Sergey Alexandrovich Kryukov 17-Feb-13 12:23pm
   
Not clear. What do you mean by "normalization" here. How is it related to SQL and XSLT?
—SA

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Ok. The entire XML contents populated in SQL table with varchar(8000).
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 17 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100