| 1 |
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- --> |
| 2 |
<!-- |
| 3 |
This program is free software; you can redistribute it and/or modify it under |
| 4 |
the terms of the GNU Lesser General Public License as published by the Free |
| 5 |
Software Foundation; either version 2 of the License, or (at your option) any |
| 6 |
later version. |
| 7 |
|
| 8 |
This program is distributed in the hope that it will be useful, but WITHOUT |
| 9 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 10 |
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
| 11 |
details. |
| 12 |
|
| 13 |
You should have received a copy of the GNU Lesser General Public License |
| 14 |
along with this program; see the file COPYING.LGPL. If not, see <http://www.gnu.org/licenses/>. |
| 15 |
--> |
| 16 |
|
| 17 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 18 |
xmlns:db="http://docbook.org/ns/docbook" |
| 19 |
exclude-result-prefixes="db" |
| 20 |
version="1.0"> |
| 21 |
|
| 22 |
<!-- |
| 23 |
If you add a template to this stylesheet, put it under an appropriate header |
| 24 |
that states why this element is suppressed. Some elements are simply not |
| 25 |
supported, while other elements are expected only to be processed in certain |
| 26 |
modes because of the DocBook content model. |
| 27 |
--> |
| 28 |
|
| 29 |
<!-- Not rendered directly --> |
| 30 |
<xsl:template match="subtitle | db:subtitle"/> |
| 31 |
<xsl:template match="titleabbrev | db:titleabbrev"/> |
| 32 |
|
| 33 |
<!-- Not yet supported --> |
| 34 |
<xsl:template match="remark | db:remark"/> |
| 35 |
|
| 36 |
<!-- Suppressed by processing expectations --> |
| 37 |
<xsl:template match="screeninfo | db:screeninfo"/> |
| 38 |
|
| 39 |
<!-- Not supported --> |
| 40 |
<xsl:template match="alt | db:alt"/> |
| 41 |
<xsl:template match="beginpage"/> |
| 42 |
<xsl:template match="bibliocoverage | db:bibliocoverage"/> |
| 43 |
|
| 44 |
<!-- Explicitly matched by parent --> |
| 45 |
<xsl:template match="listitem | db:listitem"/> |
| 46 |
<xsl:template match="sbr | db:sbr"/> |
| 47 |
|
| 48 |
<!-- Index elements, not yet supported --> |
| 49 |
<xsl:template match="indexterm | db:indexterm"/> |
| 50 |
<xsl:template match="primary | db:primary"/> |
| 51 |
<xsl:template match="primaryie | db:primaryie"/> |
| 52 |
<xsl:template match="secondary | db:secondary"/> |
| 53 |
<xsl:template match="secondaryie | db:secondaryie"/> |
| 54 |
<xsl:template match="see | db:see"/> |
| 55 |
<xsl:template match="seeie | db:seeie"/> |
| 56 |
<xsl:template match="seealso | db:seealso"/> |
| 57 |
<xsl:template match="seealsoie | db:seealsoie"/> |
| 58 |
<xsl:template match="tertiary | db:tertiary"/> |
| 59 |
<xsl:template match="tertiaryie | db:tertiaryie"/> |
| 60 |
|
| 61 |
<!-- Unmatched info elements, supported indirectly --> |
| 62 |
<xsl:template match="appendixinfo | db:appendix/db:info"/> |
| 63 |
<xsl:template match="blockinfo | |
| 64 |
db:info[not(contains(local-name(..), 'object'))]"/> |
| 65 |
<xsl:template match="articleinfo | db:article/db:info"/> |
| 66 |
<xsl:template match="bibliographyinfo | db:bibliography/db:info"/> |
| 67 |
<xsl:template match="bookinfo | db:book/db:info"/> |
| 68 |
<xsl:template match="chapterinfo | db:chapter/db:info"/> |
| 69 |
<xsl:template match="glossaryinfo | db:glossary/db:info"/> |
| 70 |
<xsl:template match="partinfo | db:part/db:info"/> |
| 71 |
<xsl:template match="prefaceinfo | db:preface/db:info"/> |
| 72 |
<xsl:template match="refentryinfo | db:refentry/db:info"/> |
| 73 |
<xsl:template match="referenceinfo | db:reference/db:info"/> |
| 74 |
<xsl:template match="refmeta | db:refmeta"/> |
| 75 |
<xsl:template match="refmiscinfo | db:refmiscinfo"/> |
| 76 |
<xsl:template match="refsynopsisdivinfo | db:refsynopsisdiv/db:info"/> |
| 77 |
<xsl:template match="sect1info | db:sect1/db:info"/> |
| 78 |
<xsl:template match="sect2info | db:sect2/db:info"/> |
| 79 |
<xsl:template match="sect3info | db:sect3/db:info"/> |
| 80 |
<xsl:template match="sect4info | db:sect4/db:info"/> |
| 81 |
<xsl:template match="sect5info | db:sect5/db:info"/> |
| 82 |
<xsl:template match="sectioninfo | db:section/db:info"/> |
| 83 |
|
| 84 |
<!-- Handled specially, so we can apply-templates --> |
| 85 |
<xsl:template match="label | db:label"/> |
| 86 |
|
| 87 |
</xsl:stylesheet> |