Instead of placing of copy of the XSL file adjacent to each index.xml
file, just drop it in the static
directory and change this:
{{- printf "<?xml-stylesheet href=\"style.xsl\" type=\"text/xsl\"?>" | safeHTML }}
to this:
{{- printf "<?xml-stylesheet href=%q type=\"text/xsl\"?>" ("style.xsl" | relLangURL) | safeHTML }}