changed form parameter name from 'xml' to 'xmlDoc'; add handling for when that parameter is not provided or empty
version 1.0.1