diff options
author | buraq <buraq@epfl.ch> | 2003-10-29 09:18:45 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2003-10-29 09:18:45 +0000 |
commit | f6dab0da8d27f605677fe295a57ffa8a4f410b63 (patch) | |
tree | 820e4ab5307ffc39c103aa5c099d5b9cb5508e9c /doc/faq/xhtml.templates.xsl | |
parent | b960d0b0e58b06d26d17e94d807e2de1b80ceccf (diff) | |
download | scala-f6dab0da8d27f605677fe295a57ffa8a4f410b63.tar.gz scala-f6dab0da8d27f605677fe295a57ffa8a4f410b63.tar.bz2 scala-f6dab0da8d27f605677fe295a57ffa8a4f410b63.zip |
initial
Diffstat (limited to 'doc/faq/xhtml.templates.xsl')
-rw-r--r-- | doc/faq/xhtml.templates.xsl | 19 |
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 |