diff options
Diffstat (limited to 'public/xsl/content.xsl')
-rw-r--r-- | public/xsl/content.xsl | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/public/xsl/content.xsl b/public/xsl/content.xsl deleted file mode 100644 index 303da59..0000000 --- a/public/xsl/content.xsl +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<xsl:template name="content"> - <xsl:param name="chapnum"/> - <xsl:param name="partnum"/> - <xsl:if test="local-name() = 'guide'"> - <!-- Inside /guide --> - <xsl:call-template name="guidecontent" /> - </xsl:if> - <xsl:if test="local-name() = 'book'"> - <!-- Inside /book --> - <xsl:call-template name="bookcontent" /> - </xsl:if> - <xsl:if test="local-name() = 'sections'"> - <!-- Inside /sections --> - <xsl:apply-templates select="/sections/section"> - <xsl:with-param name="chapnum" select="1"/> - <xsl:with-param name="partnum" select="1"/> - </xsl:apply-templates> - </xsl:if> - <xsl:if test="local-name() = 'part'"> - <!-- Inside /book/part --> - <xsl:call-template name="bookpartcontent" /> - </xsl:if> - <xsl:if test="local-name() = 'chapter'"> - <!-- Inside /book/part/chapter --> - <xsl:call-template name="bookpartchaptercontent"> - <xsl:with-param name="chapnum" select="$chapnum"/> - <xsl:with-param name="partnum" select="$partnum"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -</xsl:stylesheet> |