tweaks to xml and pdf links