aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/xhtml/lfs-admon.xsl
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-05 22:28:14 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-05 22:28:14 +0000
commit3a1e4220080239c9fb9e2c9bae0ff2d192be7324 (patch)
treeff2e569687da750b66ea7223eaadd147de9ad8e3 /stylesheets/xhtml/lfs-admon.xsl
parent369d8b1904a8b83f31c180a17d3fe260968c1cd7 (diff)
Removed old xsl files.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8200 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/xhtml/lfs-admon.xsl')
-rw-r--r--stylesheets/xhtml/lfs-admon.xsl46
1 files changed, 0 insertions, 46 deletions
diff --git a/stylesheets/xhtml/lfs-admon.xsl b/stylesheets/xhtml/lfs-admon.xsl
deleted file mode 100644
index 9b03394a9..000000000
--- a/stylesheets/xhtml/lfs-admon.xsl
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns="http://www.w3.org/1999/xhtml"
- version="1.0">
-
- <!-- Use graphics in admonitions -->
- <xsl:param name="admon.graphics" select="1"/>
- <xsl:param name="admon.graphics.path">../images/</xsl:param>
- <xsl:param name="admon.graphics.extension" select="'.png'"/>
-
- <!-- Changing the output tagging -->
- <xsl:template name="graphical.admonition">
- <xsl:variable name="admon.type">
- <xsl:choose>
- <xsl:when test="local-name(.)='note'">Note</xsl:when>
- <xsl:when test="local-name(.)='warning'">Warning</xsl:when>
- <xsl:when test="local-name(.)='caution'">Caution</xsl:when>
- <xsl:when test="local-name(.)='tip'">Tip</xsl:when>
- <xsl:when test="local-name(.)='important'">Important</xsl:when>
- <xsl:otherwise>Note</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="alt">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="$admon.type"/>
- </xsl:call-template>
- </xsl:variable>
- <div class="{name(.)}">
- <div class ="admonhead">
- <img alt="[{$alt}]">
- <xsl:attribute name="src">
- <xsl:call-template name="admon.graphic"/>
- </xsl:attribute>
- </img>
- <h3 class="admontitle">
- <xsl:apply-templates select="." mode="object.title.markup"/>
- </h3>
- </div>
- <div class="admonbody">
- <xsl:apply-templates/>
- </div>
- </div>
- </xsl:template>
-
-</xsl:stylesheet>