Utility template calculate-output-href for calculating href output values for <a> elements.