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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
|
<?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: docbook.xsl,v 1.39 2006/03/19 20:38:57 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.
******************************************************************** -->
<!-- ==================================================================== -->
<xsl:include href="../common/version.xsl" />
<!-- i18n templates -->
<xsl:include href="../common/string.xsl" />
<xsl:include href="../common/l10n.xsl" />
<xsl:include href="../common/messages.xsl" />
<xsl:include href="../common/gentext.xsl" />
<xsl:include href="../common/ucase.xsl" />
<!-- Common DocBook stuff -->
<xsl:include href="../common/check-idref.xsl" />
<xsl:include href="../common/cmdsynopsis.xsl" />
<xsl:include href="../common/labels.xsl" />
<xsl:include href="../common/lists.xsl" />
<xsl:include href="../common/person.xsl" />
<xsl:include href="../common/titles.xsl" />
<xsl:include href="../common/whitespace.xsl" />
<!-- Default parameters -->
<xsl:include href="param.xsl"/>
<!-- Texinfo node handling -->
<xsl:include href="texifile.xsl" />
<xsl:include href="texinode.xsl" />
<xsl:include href="texinode-base.xsl" />
<xsl:include href="chunk.xsl" />
<!-- Texinfo menus -->
<xsl:include href="autotoc.xsl"/>
<xsl:include href="menudescrip.xsl" />
<!-- Texinfo automatic indexing -->
<xsl:include href="index.xsl"/>
<!-- Sectioning -->
<xsl:include href="sectioning.xsl" />
<xsl:include href="component.xsl" />
<xsl:include href="division.xsl" />
<xsl:include href="sections.xsl" />
<xsl:include href="refentry.xsl" />
<!-- Block objects -->
<xsl:include href="admon.xsl" />
<xsl:include href="block.xsl" />
<xsl:include href="caption.xsl" />
<xsl:include href="formal.xsl" />
<xsl:include href="synop.xsl" />
<xsl:include href="verbatim.xsl" />
<!-- Other objects -->
<xsl:include href="footnote.xsl" />
<xsl:include href="force-inline.xsl" />
<xsl:include href="inline.xsl" />
<xsl:include href="math.xsl" />
<xsl:include href="qandaset.xsl" />
<xsl:include href="table.xsl" />
<!-- Cross references -->
<xsl:include href="xref.xsl" />
<!-- Lists -->
<xsl:include href="glossary.xsl" />
<xsl:include href="lists.xsl" />
<!-- Graphics -->
<xsl:include href="callout.xsl" />
<xsl:include href="graphics.xsl" />
<!-- Metadata -->
<xsl:include href="biblio.xsl" />
<xsl:include href="info.xsl" />
<xsl:include href="keywords.xsl" />
<xsl:include href="toc.xsl" />
<!-- Page layout -->
<xsl:include href="beginpage.xsl" />
<!-- Processing instructions -->
<xsl:include href="pi.xsl" />
<!-- ==================================================================== -->
<xsl:output method="xml" encoding="utf-8" standalone="yes" />
<!--
doctype-public="-//Steve Cheng//DTD Texi-XML V0.8.4//EN"
doctype-system="http://docbook2x.sf.net/latest/dtd/Texi-XML"
-->
<!-- ==================================================================== -->
<xsl:key name="id" match="*[@id]" use="@id" />
<!-- ==================================================================== -->
<xsl:template match="*">
<xsl:call-template name="user-message">
<xsl:with-param name="key">element not matched by any template</xsl:with-param>
</xsl:call-template>
<xsl:comment>
<xsl:call-template name="gentext-rendering">
<xsl:with-param name="key" select="'element-not-matched'" />
<xsl:with-param name="content" select="name(.)" />
</xsl:call-template>
</xsl:comment>
<xsl:apply-templates />
</xsl:template>
<xsl:template match="text()">
<xsl:value-of select="."/>
</xsl:template>
<!-- ==================================================================== -->
<doc:reference xmlns="">
<title>Texinfo XSLT stylesheets driver</title>
<partintro>
<para>
This file is the basic driver of the Texinfo XSLT stylesheets. It
includes all the other stylesheet files.
</para>
<para>
You can use this stylesheet directly, or create your own custom
stylesheet that imports this one (or one of the other driver files):
<example>
<title>Importing stylesheets</title>
<programlisting><xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import
href="http://docbook2x.sf.net/latest/xslt/texi/docbook.xsl" />
<replaceable>… your own stylesheet code goes here …</replaceable>
</xsl:stylesheet></programlisting>
</example>
Importing the stylesheet allows you to specify stylesheet options and
customize the stylesheets without changing the standard stylesheets.
</para>
</partintro>
</doc:reference>
</xsl:stylesheet>
|