summaryrefslogtreecommitdiff
path: root/doc/faq/xhtml.templates.xsl
blob: 10ae56f7d8b2ff92a99aa6773d2ff7d0f404a515 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>