質問するログイン新規登録

質問編集履歴

2

xml追加しました

2020/02/29 14:12

投稿

KAONAGA9
KAONAGA9

スコア5

title CHANGED
File without changes
body CHANGED
@@ -212,8 +212,36 @@
212
212
  </SalesRankings>
213
213
  </Product>
214
214
  </GetCompetitivePricingForASINResult>
215
+ <GetCompetitivePricingForASINResult ASIN="B0054IDPBO" status="Success">
216
+ <Product xmlns:ns2="http://mws.amazonservices.com/schema/Products/2011-10-01/default.xsd">
217
+ <Identifiers>
218
+ <MarketplaceASIN>
219
+ <MarketplaceId>A1VC38T7YXB528</MarketplaceId>
220
+ <ASIN>B0054IDPBO</ASIN>
221
+ </MarketplaceASIN>
222
+ </Identifiers>
223
+ <CompetitivePricing>
224
+ <CompetitivePrices/>
225
+ <NumberOfOfferListings>
226
+ <OfferListingCount condition="New">37</OfferListingCount>
227
+ <OfferListingCount condition="Any">37</OfferListingCount>
228
+ </NumberOfOfferListings>
229
+ </CompetitivePricing>
230
+ <SalesRankings>
231
+ <SalesRank>
232
+ <ProductCategoryId>beauty_display_on_website</ProductCategoryId>
233
+ <Rank>10782</Rank>
234
+ </SalesRank>
235
+ <SalesRank>
236
+ <ProductCategoryId>169736011</ProductCategoryId>
237
+ <Rank>64</Rank>
238
+ </SalesRank>
239
+ </SalesRankings>
240
+ </Product>
241
+ </GetCompetitivePricingForASINResult>
215
242
  <ResponseMetadata>
216
243
  <RequestId>1964bcd9-b42f-4bbe-8e86-087ce1bbbafa</RequestId>
217
244
  </ResponseMetadata>
218
245
  </GetCompetitivePricingForASINResponse>
246
+
219
247
  ```

1

xmlを追加しました

2020/02/29 14:12

投稿

KAONAGA9
KAONAGA9

スコア5

title CHANGED
File without changes
body CHANGED
@@ -148,4 +148,72 @@
148
148
  コスト面から実行時間はなるべく短くしたいので
149
149
  DOMではなくSAXで実装したいと考えております。
150
150
 
151
- 解析しようとしているxmlはこちらです
151
+ 解析しようとしているxmlはこちらです
152
+ ```xml
153
+ <?xml version="1.0"?>
154
+ <GetCompetitivePricingForASINResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
155
+ <GetCompetitivePricingForASINResult ASIN="B07CMPXN3H" status="Success">
156
+ <Product xmlns:ns2="http://mws.amazonservices.com/schema/Products/2011-10-01/default.xsd">
157
+ <Identifiers>
158
+ <MarketplaceASIN>
159
+ <MarketplaceId>A1VC38T7YXB528</MarketplaceId>
160
+ <ASIN>B07CMPXN3H</ASIN>
161
+ </MarketplaceASIN>
162
+ </Identifiers>
163
+ <CompetitivePricing>
164
+ <CompetitivePrices>
165
+ <CompetitivePrice belongsToRequester="false" condition="New" subcondition="New">
166
+ <CompetitivePriceId>1</CompetitivePriceId>
167
+ <Price>
168
+ <LandedPrice>
169
+ <CurrencyCode>JPY</CurrencyCode>
170
+ <Amount>1775.00</Amount>
171
+ </LandedPrice>
172
+ <ListingPrice>
173
+ <CurrencyCode>JPY</CurrencyCode>
174
+ <Amount>1775.00</Amount>
175
+ </ListingPrice>
176
+ <Shipping>
177
+ <CurrencyCode>JPY</CurrencyCode>
178
+ <Amount>0.00</Amount>
179
+ </Shipping>
180
+ </Price>
181
+ </CompetitivePrice>
182
+ </CompetitivePrices>
183
+ <NumberOfOfferListings>
184
+ <OfferListingCount condition="New">9</OfferListingCount>
185
+ <OfferListingCount condition="Any">9</OfferListingCount>
186
+ </NumberOfOfferListings>
187
+ </CompetitivePricing>
188
+ <SalesRankings/>
189
+ </Product>
190
+ </GetCompetitivePricingForASINResult>
191
+ <GetCompetitivePricingForASINResult ASIN="B07YNL3P7K" status="Success">
192
+ <Product xmlns:ns2="http://mws.amazonservices.com/schema/Products/2011-10-01/default.xsd">
193
+ <Identifiers>
194
+ <MarketplaceASIN>
195
+ <MarketplaceId>A1VC38T7YXB528</MarketplaceId>
196
+ <ASIN>B07YNL3P7K</ASIN>
197
+ </MarketplaceASIN>
198
+ </Identifiers>
199
+ <CompetitivePricing>
200
+ <CompetitivePrices/>
201
+ <NumberOfOfferListings/>
202
+ </CompetitivePricing>
203
+ <SalesRankings>
204
+ <SalesRank>
205
+ <ProductCategoryId>health_and_beauty_display_on_website</ProductCategoryId>
206
+ <Rank>49984</Rank>
207
+ </SalesRank>
208
+ <SalesRank>
209
+ <ProductCategoryId>169922011</ProductCategoryId>
210
+ <Rank>2965</Rank>
211
+ </SalesRank>
212
+ </SalesRankings>
213
+ </Product>
214
+ </GetCompetitivePricingForASINResult>
215
+ <ResponseMetadata>
216
+ <RequestId>1964bcd9-b42f-4bbe-8e86-087ce1bbbafa</RequestId>
217
+ </ResponseMetadata>
218
+ </GetCompetitivePricingForASINResponse>
219
+ ```