Move expansion of Samba-specific XML elements out of xslt/latex.xsl into a