<?xml version="1.0" encoding="UTF-8"?>
<Envelope>
<Body>
<RetrieveChangeKeysListResponse message="Success">
<keys>
<ChangeID type="String">C10286</ChangeID>
</keys>
<keys>
<ChangeID type="String">C10296</ChangeID>
</keys>
</RetrieveChangeKeysListResponse>
</Body>
</Envelope>
我使用以下查询从xml文件中获取值C10296和C10286。我得到的输出是C10296C10286。但确切的输出是C10296,C10286。我正在使用xpath 1.0。无论如何我能达到同样的目标吗?
/Envelope/Body/RetrieveChangeKeysListResponse/keys/ChangeID/text()
谢谢和问候
Riyas Hussain A