__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
<!--
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this program; see the file COPYING.LGPL. If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:db="http://docbook.org/ns/docbook"
xmlns:set="http://exslt.org/sets"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="db set"
version="1.0">
<!--!!==========================================================================
DocBook to HTML - Reference Pages
REMARK: Describe this module. Talk about refenty and friends
-->
<!--#% db2html.division.div.content.mode -->
<!-- == Matched Templates == -->
<!-- = citerefentry = -->
<xsl:template match="citerefentry | db:citerefentry">
<xsl:call-template name="db2html.inline"/>
</xsl:template>
<xsl:template match="citerefentry/refentrytitle | db:citerefentry/db:refentrytitle">
<xsl:call-template name="db2html.inline"/>
</xsl:template>
<!-- = manvolnum = -->
<xsl:template match="manvolnum | db:manvolnum">
<xsl:text>(</xsl:text>
<xsl:apply-templates select="node()"/>
<xsl:text>)</xsl:text>
</xsl:template>
<!-- = refentry = -->
<xsl:template match="refentry | db:refentry">
<xsl:param name="depth_in_chunk">
<xsl:call-template name="db.chunk.depth-in-chunk"/>
</xsl:param>
<xsl:param name="depth_of_chunk">
<xsl:call-template name="db.chunk.depth-of-chunk"/>
</xsl:param>
<xsl:call-template name="db2html.division.div">
<xsl:with-param name="divisions"
select="refsynopsisdiv | refsection | refsect1 |
db:refsynopsisdiv | db:refsection | db:refsect1"/>
<xsl:with-param name="depth_in_chunk" select="$depth_in_chunk"/>
<xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/>
</xsl:call-template>
</xsl:template>
<!-- = refentry % db2html.division.div.content.mode = -->
<xsl:template mode="db2html.division.div.content.mode" match="refentry |
db:refentry">
<xsl:param name="depth_in_chunk">
<xsl:call-template name="db.chunk.depth-in-chunk"/>
</xsl:param>
<xsl:param name="depth_of_chunk">
<xsl:call-template name="db.chunk.depth-of-chunk"/>
</xsl:param>
<div class="refnamedivs">
<xsl:apply-templates select="refnamediv | db:refnamediv">
<xsl:with-param name="depth_in_chunk" select="$depth_in_chunk + 1"/>
<xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/>
</xsl:apply-templates>
</div>
</xsl:template>
<!-- = refdescriptor = -->
<xsl:template match="refdescriptor | db:refdescriptor">
<xsl:call-template name="db2html.inline"/>
</xsl:template>
<!-- = refname = -->
<xsl:template match="refname | db:refname">
<xsl:call-template name="db2html.inline"/>
</xsl:template>
<!-- = refnamediv = -->
<xsl:template match="refnamediv | db:refnamediv">
<xsl:param name="depth_in_chunk">
<xsl:call-template name="db.chunk.depth-in-chunk"/>
</xsl:param>
<xsl:param name="depth_of_chunk">
<xsl:call-template name="db.chunk.depth-of-chunk"/>
</xsl:param>
<xsl:variable name="if"><xsl:call-template name="db.profile.test"/></xsl:variable>
<xsl:if test="$if != ''">
<div>
<xsl:call-template name="html.class.attr">
<xsl:with-param name="class" select="'refnamediv'"/>
</xsl:call-template>
<xsl:call-template name="db2html.anchor"/>
<xsl:choose>
<xsl:when test="refdescriptor">
<xsl:apply-templates select="refdescriptor"/>
</xsl:when>
<xsl:when test="db:refdescriptor">
<xsl:apply-templates select="db:refdescriptor"/>
</xsl:when>
<xsl:otherwise>
<xsl:for-each select="refname | db:refname">
<xsl:if test="position() != 1">
<xsl:call-template name="l10n.gettext">
<xsl:with-param name="msgid" select="', '"/>
</xsl:call-template>
</xsl:if>
<xsl:apply-templates select="."/>
</xsl:for-each>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="l10n.gettext">
<xsl:with-param name="msgid" select="' — '"/>
</xsl:call-template>
<xsl:apply-templates select="refpurpose | db:refpurpose"/>
</div>
</xsl:if>
<!-- FIXME: what to do with refclass? -->
</xsl:template>
<!-- = refpurpose = -->
<xsl:template match="refpurpose | db:refpurpose">
<xsl:call-template name="db2html.inline"/>
</xsl:template>
<!-- = refsect1 = -->
<xsl:template match="refsect1 | db:refsect1">
<xsl:param name="depth_in_chunk">
<xsl:call-template name="db.chunk.depth-in-chunk"/>
</xsl:param>
<xsl:param name="depth_of_chunk">
<xsl:call-template name="db.chunk.depth-of-chunk"/>
</xsl:param>
<xsl:call-template name="db2html.division.div">
<xsl:with-param name="divisions" select="refsect2 | db:refsect2"/>
<xsl:with-param name="info" select="refsect1info | db:info"/>
<xsl:with-param name="depth_in_chunk" select="$depth_in_chunk"/>
<xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/>
<xsl:with-param name="chunk_divisions" select="false()"/>
</xsl:call-template>
</xsl:template>
<!-- = refsect2 = -->
<xsl:template match="refsect2 | db:refsect2">
<xsl:param name="depth_in_chunk">
<xsl:call-template name="db.chunk.depth-in-chunk"/>
</xsl:param>
<xsl:param name="depth_of_chunk">
<xsl:call-template name="db.chunk.depth-of-chunk"/>
</xsl:param>
<xsl:call-template name="db2html.division.div">
<xsl:with-param name="divisions" select="refsect3 | db:refsect3"/>
<xsl:with-param name="info" select="refsect2info | db:info"/>
<xsl:with-param name="depth_in_chunk" select="$depth_in_chunk"/>
<xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/>
<xsl:with-param name="chunk_divisions" select="false()"/>
</xsl:call-template>
</xsl:template>
<!-- = refsect3 = -->
<xsl:template match="refsect3 | db:refsect3">
<xsl:param name="depth_in_chunk">
<xsl:call-template name="db.chunk.depth-in-chunk"/>
</xsl:param>
<xsl:param name="depth_of_chunk">
<xsl:call-template name="db.chunk.depth-of-chunk"/>
</xsl:param>
<xsl:call-template name="db2html.division.div">
<xsl:with-param name="divisions" select="/false"/>
<xsl:with-param name="info" select="refsect3info | db:info"/>
<xsl:with-param name="depth_in_chunk" select="$depth_in_chunk"/>
<xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/>
<xsl:with-param name="chunk_divisions" select="false()"/>
</xsl:call-template>
</xsl:template>
<!-- = refsection = -->
<xsl:template match="refsection | db:refsection">
<xsl:param name="depth_in_chunk">
<xsl:call-template name="db.chunk.depth-in-chunk"/>
</xsl:param>
<xsl:param name="depth_of_chunk">
<xsl:call-template name="db.chunk.depth-of-chunk"/>
</xsl:param>
<xsl:call-template name="db2html.division.div">
<xsl:with-param name="divisions" select="refsection | db:refsection"/>
<xsl:with-param name="info" select="refsectioninfo | db:info"/>
<xsl:with-param name="depth_in_chunk" select="$depth_in_chunk"/>
<xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/>
<xsl:with-param name="chunk_divisions" select="false()"/>
</xsl:call-template>
</xsl:template>
<!-- = refsynopsisdiv = -->
<xsl:template match="refsynopsisdiv | db:refsynopsisdiv">
<xsl:param name="depth_in_chunk">
<xsl:call-template name="db.chunk.depth-in-chunk"/>
</xsl:param>
<xsl:param name="depth_of_chunk">
<xsl:call-template name="db.chunk.depth-of-chunk"/>
</xsl:param>
<xsl:call-template name="db2html.division.div">
<xsl:with-param name="depth_in_chunk" select="$depth_in_chunk"/>
<xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| db2html-bibliography.xsl | File | 14.66 KB | 0644 |
|
| db2html-block.xsl | File | 32.41 KB | 0644 |
|
| db2html-callout.xsl | File | 3.6 KB | 0644 |
|
| db2html-classsynopsis.xsl | File | 24.26 KB | 0644 |
|
| db2html-cmdsynopsis.xsl | File | 22.22 KB | 0644 |
|
| db2html-division.xsl | File | 38.58 KB | 0644 |
|
| db2html-ebnf.xsl | File | 2.06 KB | 0644 |
|
| db2html-footnote.xsl | File | 5.91 KB | 0644 |
|
| db2html-funcsynopsis.xsl | File | 7.08 KB | 0644 |
|
| db2html-index.xsl | File | 18.47 KB | 0644 |
|
| db2html-inline.xsl | File | 39.14 KB | 0644 |
|
| db2html-links.xsl | File | 8.56 KB | 0644 |
|
| db2html-list.xsl | File | 25.55 KB | 0644 |
|
| db2html-math.xsl | File | 6.01 KB | 0644 |
|
| db2html-media.xsl | File | 17.72 KB | 0644 |
|
| db2html-refentry.xsl | File | 8.26 KB | 0644 |
|
| db2html-suppressed.xsl | File | 3.62 KB | 0644 |
|
| db2html-table.xsl | File | 50.91 KB | 0644 |
|
| db2html-xref.xsl | File | 7.27 KB | 0644 |
|
| db2html.xsl | File | 1.87 KB | 0644 |
|
| db2xhtml.xsl | File | 2.65 KB | 0644 |
|