risolto banalmente così:
Codice PHP:
$cl->addChild('RAGSOC'str_replace('&''&'$var['cliente_ragsoc'])); 
ciao!