summaryrefslogtreecommitdiff
path: root/xsl/common.xsl
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-08-24 08:56:40 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-08-24 08:56:40 +0200
commit3eed79e021d901b46fe2ac7a29b208b6808881ba (patch)
tree59ea6bba788687ce3f9db66585ddf66333dad256 /xsl/common.xsl
parent4a2ec37a6aa778ebfaa091b34bd54393980f95d9 (diff)
downloadmutti-web-3eed79e021d901b46fe2ac7a29b208b6808881ba.tar.gz
mutti-web-3eed79e021d901b46fe2ac7a29b208b6808881ba.tar.bz2
mutti-web-3eed79e021d901b46fe2ac7a29b208b6808881ba.zip
Make suffix be a parameter to the stylesheet.
Default to .xml for viewing xml files directly in browser. Set the parameter in Makefile for generated pages to .xhtml.
Diffstat (limited to 'xsl/common.xsl')
-rw-r--r--xsl/common.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xsl/common.xsl b/xsl/common.xsl
index 30eb522..d3cc654 100644
--- a/xsl/common.xsl
+++ b/xsl/common.xsl
@@ -14,7 +14,7 @@
<xsl:variable name="filename" select="/s:html/@name" />
<xsl:variable name="title" select="document('../main.xml')/s:site/s:page[@filename = $filename]/@title" />
- <xsl:variable name="suffix" select="'.xhtml'" />
+ <xsl:param name="suffix" select="'.xml'" />
<xsl:output method="xml" indent="yes"
doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"