我尝试在 pl/sql 中解析这个 xml 中的值。
我想获得<tax:resultCode>1</tax:resultCode>
标签值,以便它的'1'
你能帮我吗 :( ?
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
<wsa:Action>http://tempuri.org/GetSerialNoDealerIsValidResponse</wsa:Action>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-d434622e-2bcd-4e80-a258-e5e503a964b1">
<wsu:Created>2016-07-20T17:08:58.379+03:00</wsu:Created>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
</soap:Header>
<soap:Body xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tax:checkInventoryResponse xmlns:tax="http://www.avea.com.tr/TAXIM_INVENTORY_OPERATIONS">
<ave:ResponseHeader xmlns:ave="http://www.avea.com.tr/aveaCommonTypes">
<ave:Tid>stringstringstringstring</ave:Tid>
</ave:ResponseHeader>
<tax:ResponseBody>
<tax:response>
<tax:ResponseItem>
<tax:resultCode>1</tax:resultCode>
<tax:responseValue>0000</tax:responseValue><tax:logID>stringstringstringstring</tax:logID>
</tax:ResponseItem>
</tax:response>
</tax:ResponseBody>
</tax:checkInventoryResponse>
</soap:Body>
</soapenv:Envelope>