Debian Codegraph @

xslt/docbook/common/db-selectors.mod

raw
1 <!--
2 This program is free software; you can redistribute it and/or modify it under
3 the terms of the GNU Lesser General Public License as published by the Free
4 Software Foundation; either version 2 of the License, or (at your option) any
5 later version.
6
7 This program is distributed in the hope that it will be useful, but WITHOUT
8 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
9 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
10 details.
11
12 You should have received a copy of the GNU Lesser General Public License
13 along with this program; see the file COPYING.LGPL. If not, see
14 <http://www.gnu.org/licenses/>.
15 -->
16
17 <!--
18 This file contains a set of selectors for DocBook content. The selectors reflect
19 the logical groupings used by the yelp-xsl stylesheets, and may not be suitable
20 for other uses. The selectors are all of the form *[predicate]. This allows axes
21 to be prepended and predicates to be appended.
22 -->
23
24 <!-- ===========================================================================
25 db_chunks
26 -->
27 <!ENTITY db_chunks "*[
28 local-name(.) = 'appendix' or
29 local-name(.) = 'article' or
30 local-name(.) = 'bibliography' or
31 local-name(.) = 'bibliodiv' or
32 local-name(.) = 'book' or
33 local-name(.) = 'chapter' or
34 local-name(.) = 'colophon' or
35 local-name(.) = 'dedication' or
36 local-name(.) = 'glossary' or
37 local-name(.) = 'glossdiv' or
38 local-name(.) = 'index' or
39 local-name(.) = 'lot' or
40 local-name(.) = 'part' or
41 local-name(.) = 'preface' or
42 local-name(.) = 'refentry' or
43 local-name(.) = 'reference' or
44 local-name(.) = 'sect1' or
45 local-name(.) = 'sect2' or
46 local-name(.) = 'sect3' or
47 local-name(.) = 'sect4' or
48 local-name(.) = 'sect5' or
49 local-name(.) = 'section' or
50 local-name(.) = 'setindex' or
51 local-name(.) = 'simplesect' or
52 local-name(.) = 'toc'
53 ]">
54 <!ENTITY db_infos "*[
55 self::db:info or
56 self::appendixinfo or
57 self::articleinfo or
58 self::bibliographyinfo or
59 self::bookinfo or
60 self::chapterinfo or
61 self::glossaryinfo or
62 self::indexinfo or
63 self::partinfo or
64 self::prefaceinfo or
65 self::refentryinfo or
66 self::referenceinfo or
67 self::sect1info or
68 self::sect2info or
69 self::sect3info or
70 self::sect4info or
71 self::sect5info or
72 self::sectioninfo or
73 self::setindexinfo
74 ]">