Debian Codegraph @

xslt/docbook/html/db2html-ebnf.xsl

raw
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 xmlns="http://www.w3.org/1999/xhtml"
20 exclude-result-prefixes="db"
21 version="1.0">
22
23 <!--!!==========================================================================
24 DocBook to HTML - EBNF Elements
25
26 REMARK: Describe this module
27 -->
28
29 <!-- FIXME: rhs/sbr -->
30
31 <!-- == Matched Templates == -->
32
33 <!-- = constraint = -->
34
35 <!-- = constraintdef = -->
36
37 <!-- = lhs = -->
38
39 <!-- = nonterminal = -->
40
41 <!-- = production = -->
42
43 <!-- = productionrecap = -->
44
45 <!-- = productionset = -->
46 <xsl:template match="productionset | db:productionset">
47 <div>
48 <xsl:call-template name="html.class.attr">
49 <xsl:with-param name="class" select="'productionset'"/>
50 </xsl:call-template>
51 <xsl:call-template name="db2html.anchor"/>
52 <xsl:apply-templates select="title | db:title | db:info/db:title"/>
53 <table class="productionset">
54 <xsl:apply-templates select="production | productionrecap |
55 db:production | db:productionrecap"/>
56 </table>
57 </div>
58 </xsl:template>
59
60 <!-- = productionset/title = -->
61 <!-- FIXME
62 <xsl:template match="productionset/title">
63 <xsl:call-template name="db2html.title.simple"/>
64 </xsl:template>
65 -->
66
67 <!-- = rhs = -->
68
69 </xsl:stylesheet>