should we change this a bit. So its more like 
$object['POLICY']->content = $xml;