Access xml by REST