Seemed to work anyway, but better to escape &gt; in XML