Now setting the CSS file path as a parameter

This will allow us to use separate CSS and XSLT files (e.g. themes) later
This commit is contained in:
2013-09-19 23:16:52 +02:00
parent a154118b6f
commit fcb75f672b
2 changed files with 28 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
<xsl:variable name="r_aspect" select="240" />
<xsl:template match="/">
<xsl:processing-instruction name="xml-stylesheet">href="test.css" type="text/css"</xsl:processing-instruction>
<xsl:processing-instruction name="xml-stylesheet">href="<xsl:value-of select="$css_file"/>" type="text/css"</xsl:processing-instruction>
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"