XML generation OK