changed back to params[:xml]
added back [:xml] to create