0
這是我的傳入負載。mule中的xpath3問題
<?xml version="1.0" encoding="UTF-8"?>
<detail><ns1:SiperianRequestFault xmlns:ns1="urn:siperian.api">
<ns1:requestName>SearchQuery</ns1:requestName>
<ns1:errorCode>SIP-18018</ns1:errorCode>
<ns1:errorMessage>SIP-18018: Request not recognized by the user profile providers.
Review the server log for more details.</ns1:errorMessage>
</ns1:SiperianRequestFault></detail>
當我查詢
xpath3('//detail')
這裏是輸出
SearchQuerySIP-18018SIP-18018: Request not recognized by the user profile providers.Review the server log for more details.
但我要的是提取errorCode, errorMessage
等
非常感謝兄弟! – Dhanjeet