Add url upload and file upload for XML with validation