return data xml if no submitUrl is passed.