summaryrefslogtreecommitdiff
path: root/doc/faq/xhtml.templates.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/faq/xhtml.templates.xsl')
-rw-r--r--doc/faq/xhtml.templates.xsl19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/faq/xhtml.templates.xsl b/doc/faq/xhtml.templates.xsl
new file mode 100644
index 0000000000..10ae56f7d8
--- /dev/null
+++ b/doc/faq/xhtml.templates.xsl
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+
+ <xsl:template match="a">
+ <a><xsl:attribute name="href">
+ <xsl:value-of select="@href"/>
+ </xsl:attribute><xsl:value-of select="."/></a></xsl:template>
+
+ <xsl:template match="em"><em><xsl:value-of select="."/></em></xsl:template>
+
+ <xsl:template match="p"><p><xsl:apply-templates/></p></xsl:template>
+
+ <xsl:template match="ul"><ul><xsl:apply-templates/></ul></xsl:template>
+
+ <xsl:template match="li"><li><xsl:apply-templates/></li></xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file