- array_pop: documentation ( source)
<?php
$xml = <<<XML
<?xml version='1.0'?>
<always>
<be><![CDATA[Document Checklist:
* E-Sign is our recommended return method. It's the fastest
way to return your application package and will allow us to
start processing your loan immediately!
* All clients on the loan must sign the documents in the
application package.
* If you are E-Signing and there are multiple clients on the
loan, each client must login and E-Sign individually.
]]></be>
</always>
XML;
$sml = new SimpleXMLElement ($xml);
$result = $sml->xpath('/always/be');
echo (string) array_pop($result);