我正在尝试从标签中提取RecordID =“ 1014276”我尝试了:$result = curl_exec($ch);curl_close($ch);$xml2 = simplexml_load_string($result);echo $latitude = (string) $xml2['RecordID'];这是XML响应:<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <ns1:createDataResponse xmlns:ns1="http://3e.pl/ADInterface"> <StandardResponse RecordID="1014276" xmlns="http://3e.pl/ADInterface"/> </ns1:createDataResponse> </soap:Body></soap:Envelope>
2 回答
- 2 回答
- 0 关注
- 130 浏览
添加回答
举报
0/150
提交
取消