Adding support for inline XML upload