> Does anyone have some code that will convert all file
> reference in an HTML document or even XML to
> absolutlinks when a domain name is given?
I sure don't. However if you're just taking a specific case you can use the URL constructor
URL(URL base, String relative)