我有这个XML代码。我无法获取ActiveList.ItemArray.Item.SellingStatus.QuantitySold中的QuantitySold值,如何使用XML获取“ QuantitySold”值。谢谢
// Generate XML request
$call_name = 'GetMyeBaySelling';
$xml_request = "<?xml version=\"1.0\" encoding=\"utf-8\"?>
<".$call_name."Request xmlns=\"urn:ebay:apis:eBLBaseComponents\">
<RequesterCredentials>
<eBayAuthToken>" . $auth_token . "</eBayAuthToken>
</RequesterCredentials>
<ActiveList>
<QuantitySold> int </QuantitySold>
<Sort>TimeLeft</Sort>
<Pagination>
<EntriesPerPage>1</EntriesPerPage>
<PageNumber>1</PageNumber>
</Pagination>
</ActiveList>
</".$call_name."Request>";