summaryrefslogtreecommitdiff
path: root/xsl/link.xsl
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-08-23 16:02:34 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-08-23 16:06:05 +0200
commitf9c9aef63c24188c87dbe4a351b2834e2fc0d282 (patch)
tree2557ec019bb4f2833b86481ccb36ede366946086 /xsl/link.xsl
downloadmutti-web-f9c9aef63c24188c87dbe4a351b2834e2fc0d282.tar.gz
mutti-web-f9c9aef63c24188c87dbe4a351b2834e2fc0d282.tar.bz2
mutti-web-f9c9aef63c24188c87dbe4a351b2834e2fc0d282.zip
Add initial layout + pages
Diffstat (limited to 'xsl/link.xsl')
-rw-r--r--xsl/link.xsl18
1 files changed, 18 insertions, 0 deletions
diff --git a/xsl/link.xsl b/xsl/link.xsl
new file mode 100644
index 0000000..7d0832e
--- /dev/null
+++ b/xsl/link.xsl
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="https://beratung-franzke.de/web-tpl">
+
+
+ <xsl:template match="s:a" mode="html">
+ <a>
+ <xsl:copy-of select="@*" />
+ <xsl:attribute name="href">
+ <xsl:value-of select="concat(@href, $suffix)" />
+ </xsl:attribute>
+ <xsl:apply-templates mode="html"/>
+ </a>
+ </xsl:template>
+
+</xsl:stylesheet>