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

Last change on this file since 3191 was 3191, checked in by Martin Svensson, 15 years ago

Added a helptext element to the documentation-dtd to be used for generate helptext-import file

File size: 1.2 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|helptext">
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<!-- help text element -->
33
34<!ELEMENT helptext ANY>
35<!ATTLIST helptext external_id CDATA #REQUIRED>
36<!ATTLIST helptext title CDATA #REQUIRED>
37
38<!ELEMENT pasteFigure ANY>
39<!ATTLIST pasteFigure src   CDATA #REQUIRED >
40<!-- if not present, it will equal the name of the file (src),
41     without the file format extension -->
42<!ATTLIST pasteFigure id    CDATA #IMPLIED > 
43<!ATTLIST pasteFigure width CDATA #IMPLIED > 
Note: See TracBrowser for help on using the repository browser.