Fix: do https replacement with gsub and ruby rather than xslt