Add support for URL prefix
Set XML URL properly when importing docs