1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
<?xml version='1.0'?>
<!-- vim: sw=2 sta et
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
xmlns="http://docbook2x.sourceforge.net/xmlns/Texi-XML"
exclude-result-prefixes="doc"
version='1.0'
xml:lang="en">
<!-- ********************************************************************
$Id: info.xsl,v 1.8 2004/08/22 22:46:07 stevecheng Exp $
********************************************************************
(C) 2000-2004 Steve Cheng <stevecheng@users.sourceforge.net>
This file is part of the docbook2X XSLT stylesheets for
converting DocBook to Texinfo.
See ../../COPYING for the copyright status of this software.
******************************************************************** -->
<doc:reference xmlns="">
<title>The <sgmltag class="element"><replaceable>*</replaceable>info</sgmltag>
wrappers</title>
</doc:reference>
<!-- ==================================================================== -->
<!-- These templates define the "default behavior" for info
elements. Even if you don't process the *info wrappers,
some of these elements are needed because the elements are
processed from named templates that are called with modes.
Since modes aren't sticky, these rules apply.
(TODO: clarify this comment) -->
<!-- ==================================================================== -->
<!-- called from named templates in a given mode -->
<xsl:template match="corpauthor">
<xsl:apply-templates/>
</xsl:template>
<!-- ==================================================================== -->
<xsl:template match="jobtitle">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="orgname">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="orgdiv">
<xsl:apply-templates/>
</xsl:template>
<!-- ==================================================================== -->
<!-- Ignore meta-info wrappers -->
<xsl:template match="docinfo|prefaceinfo|chapterinfo|appendixinfo|articleinfo|artheader|glossaryinfo">
<xsl:apply-templates mode="info-wrapper" />
</xsl:template>
<xsl:template match="bookinfo|setinfo|seriesinfo">
<xsl:apply-templates mode="info-wrapper" />
</xsl:template>
<xsl:template match="partinfo">
<xsl:apply-templates mode="info-wrapper" />
</xsl:template>
<xsl:template match="referenceinfo|refentryinfo|refsect1info|refsect2info|refsect3info|refsynopsisdivinfo">
<xsl:apply-templates mode="info-wrapper" />
</xsl:template>
<xsl:template match="sect1info|sect2info|sect3info|sect4info|sect5info|sectioninfo">
<xsl:apply-templates mode="info-wrapper" />
</xsl:template>
<xsl:template match="objectinfo">
<xsl:apply-templates mode="info-wrapper" />
</xsl:template>
<xsl:template match="node()" mode="info-wrapper">
<!-- ignore -->
</xsl:template>
<!-- ==================================================================== -->
</xsl:stylesheet>
|