怎么解析返回报文并取其中特定的值
返回报文示例如下:
(取其中SCOREAVALIABLE的值)
<?xml version="1.0" encoding="UTF-8"?>
<PACKET>
<responsehead>
<uuid>abcdef</uuid>
<timestamp>2017-09-26 03:07:12.70 UTC</timestamp>
<request__type>123456</request__type>
<response__code>1</response__code>
<server__version>00000001</server__version>
<sender>club</sender>
<error__message></error__message>
</responsehead>
<BODY>
<BUSINESSLIST>
<BUSINESSDATA>
<MEMSCORE>999110</MEMSCORE>
<SCOREAVALIABLE>999110</SCOREAVALIABLE>
<SCOREFREEZE>0</SCOREFREEZE>
</BUSINESSDATA>
</BUSINESSLIST>
</BODY>
</PACKET>