diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-03-13 09:20:45 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-03-13 09:20:45 +0000 |
commit | 2e524f93fc03353e6fb05333d8041505948959eb (patch) | |
tree | 0e2f8a60e47c994d49152b300f0d698a7eb29c4f /stylesheets/lfs-xsl/docbook-xsl-1.78.1/website/xbel.xsl | |
parent | cc98817b6165e5307c1fc38328cdc2a1cc2de257 (diff) |
Since LFS started using docbook-1.78.1, there is a lot of unused data
in the stylesheet directory. Basically, a whole docbook-stylesheet is
there, while we need only fo and xhtml (+ some common dirs). Each time
we checkout the repo, we have to download this whole thing, which is by
far the biggest part of the repo (~33 M). By removing unused cruft,
this could be down to ~12 M.
Of course, it would be even better to remove completely the stylesheets
and use host ones (repo size down to 2M). but let's do this first, it is
easier :)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/website/xbel.xsl')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/website/xbel.xsl | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/website/xbel.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/website/xbel.xsl deleted file mode 100644 index ec9873c4e..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/website/xbel.xsl +++ /dev/null @@ -1,114 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id: xbel.xsl 6910 2007-06-28 23:23:30Z xmldoc $ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for - copyright and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:output method="xml"/> - -<!-- ==================================================================== --> - -<xsl:template match="xbel"> - <ul> - <xsl:apply-templates/> - </ul> -</xsl:template> - -<!-- Only partial support for xbel elements --> -<xsl:template match="xbel/info|xbel/title|xbel/desc| - xbel/alias|xbel/separator"> - <!-- No op --> -</xsl:template> - -<xsl:template match="folder"> - <li> - <xsl:apply-templates select="title"/> - <ul> - <xsl:apply-templates select="folder|bookmark"/> - </ul> - </li> -</xsl:template> - -<xsl:template match="folder/title"> - <b><xsl:apply-templates/></b> -</xsl:template> - -<xsl:template match="bookmark"> - <li> - <a href="{@href}" target="_top"> - <xsl:apply-templates select="title"/> - </a> - </li> -</xsl:template> - -<xsl:template match="bookmark/title"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="xbel" mode="dynamic"> - <ul> - <xsl:apply-templates mode="dynamic"/> - </ul> -</xsl:template> - -<xsl:template match="info" mode="dynamic"> -</xsl:template> - -<xsl:template match="folder" mode="dynamic"> - <li> - <xsl:apply-templates select="title" mode="dynamic"/> - <ul style="display:none" id="{@id}"> - <xsl:apply-templates select="folder|bookmark" mode="dynamic"/> - </ul> - </li> -</xsl:template> - -<xsl:template match="folder/title" mode="dynamic"> - <b> - <span> - <xsl:choose> - <xsl:when test="../@id"> - <xsl:attribute name="onClick"> - <xsl:text>toggleList('</xsl:text> - <xsl:value-of select="../@id"/> - <xsl:text>')</xsl:text> - </xsl:attribute> - <xsl:attribute name="class">exlist</xsl:attribute> - <xsl:attribute name="style">color: blue</xsl:attribute> - <xsl:apply-templates mode="dynamic"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="dynamic"/> - </xsl:otherwise> - </xsl:choose> - </span> - </b> -</xsl:template> - -<xsl:template match="bookmark" mode="dynamic"> - <li> - <a href="{@href}" target="_top"> - <xsl:apply-templates select="title" mode="dynamic"/> - </a> - </li> -</xsl:template> - -<xsl:template match="bookmark/title" mode="dynamic"> - <xsl:apply-templates mode="dynamic"/> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> |