Manually generate xml