Document document = DocumentHelper.parseText(str);
Node node = document.selectSingleNode("//REQUESTCODE");
String REQUESTCODE = node.getStringValue();
-------------------------------------------xml
<MESSAGE>
<REQUEST>
<HEAD>
<REQUESTCODE>30001</REQUESTCODE>
<MSGCODE>DAFDS</MSGCODE>
<MSGINFO></MSGINFO>
</HEAD>
<BODY>
<LIST>
<ROW>
<D1>4</D1>
<D2>3333333333</D2>
<D3>1</D3>
<D4>2012-8-23 9:46:49</D4>
<D5>14711</D5>
</ROW>
</LIST>
</BODY>
</REQUEST>
</MESSAGE>