diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | xsl/common.xsl | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -xsltproc=xsltproc +xsltproc=xsltproc --stringparam suffix .xhtml svg2png=rsvg-convert -f png #pages=$(shell xmllint --xpath "//*/@filename" main.xml | sed 's/filename=//g'| xargs echo) 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" |