XML-Output auf Variablen schreiben