source: trunk/lib/docbook/preprocess/dweiss-docbook-extensions.dtd @ 3153

Last change on this file since 3153 was 3153, checked in by Nicklas Nordborg, 15 years ago

Added docbook DTD:s and stylesheets

File size: 1.0 KB
Line 
1
2<!--
3    -//Dawid Weiss//DTD DocBook V3.1-Based Extension for XML and graphics inclusion//EN
4  -->
5
6
7
8<!-- Add 'include' element to be on the same level as chapter or section class. -->
9
10<!ENTITY % local.chapter.class "|include|ifdefined">
11<!ENTITY % local.section.class "|include|ifdefined">
12<!ENTITY % local.info.class    "|include|ifdefined">
13<!ENTITY % local.para.class    "|pasteFigure|ifdefined">
14
15<!-- load DocBook -->
16
17<!ENTITY % docbook-dtd PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
18%docbook-dtd;
19
20
21
22<!-- define new elements -->
23
24<!ELEMENT ifdefined ANY>
25<!ATTLIST ifdefined value CDATA #REQUIRED >
26
27
28<!ELEMENT include EMPTY>
29<!ATTLIST include file CDATA #REQUIRED>
30
31
32<!ELEMENT pasteFigure ANY>
33<!ATTLIST pasteFigure src   CDATA #REQUIRED >
34<!-- if not present, it will equal the name of the file (src),
35     without the file format extension -->
36<!ATTLIST pasteFigure id    CDATA #IMPLIED > 
37<!ATTLIST pasteFigure width CDATA #IMPLIED > 
Note: See TracBrowser for help on using the repository browser.