Use XML as input format