Fix e2e XML builder

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>