~ubuntu-branches/ubuntu/hoary/docbook-html-forms/hoary

« back to all changes in this revision

Viewing changes to dbforms.dtd

  • Committer: Bazaar Package Importer
  • Author(s): Mark Johnson
  • Date: 2001-06-20 13:15:31 UTC
  • Revision ID: james.westby@ubuntu.com-20010620131531-elulqa92gcfcyqm5
Tags: 1.0-1
Initial Release. Closes: bug#85391

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- ...................................................................... -->
 
2
<!-- DocBook HTML Forms Module V1.0 ....................................... -->
 
3
<!-- File dbforms.dtd ..................................................... -->
 
4
 
 
5
<!-- Copyright (C) 2000 Organization for the Advancement
 
6
     of Structured Information Standards (OASIS).
 
7
 
 
8
     $Id: dbforms.dtd,v 1.2 2001/06/15 14:18:04 nwalsh Exp $
 
9
 
 
10
     Permission to use, copy, modify and distribute the DocBook HTML Forms
 
11
     Module and its accompanying documentation for any purpose and
 
12
     without fee is hereby granted in perpetuity, provided that the
 
13
     above copyright notice and this paragraph appear in all copies.
 
14
     The copyright holders make no representation about the
 
15
     suitability of the DTD for any purpose.  It is provided "as is"
 
16
     without expressed or implied warranty.
 
17
 
 
18
     If you modify the DocBook HTML Forms Module in any way, label your DTD
 
19
     as a variant of DocBook.  See the maintenance documentation for
 
20
     more information.
 
21
 
 
22
     Please direct all questions, bug reports, or suggestions for 
 
23
     changes to the docbook@lists.oasis-open.org mailing list. For more
 
24
     information, see http://www.oasis-open.org/docbook/.
 
25
-->
 
26
 
 
27
<!-- ...................................................................... -->
 
28
 
 
29
<!-- This is the driver file for V1.0 of the DocBook HTML Forms Module.
 
30
     Please use the following formal public identifier to identify it:
 
31
 
 
32
     "-//OASIS//DTD DocBook HTML Forms Module V1.0//EN"
 
33
 
 
34
     For example, if your document's top-level element is Book, and
 
35
     you are using DocBook directly, use the FPI in the DOCTYPE
 
36
     declaration:
 
37
 
 
38
     <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook HTML Forms Module V1.0//EN"
 
39
                    "http://www.oasis-open.org/docbook/xml/htmlforms/1.0/dbforms.dtd"
 
40
                    [...]>
 
41
 
 
42
     Or, if you have a higher-level driver file that customizes DocBook,
 
43
     use the FPI in the parameter entity declaration:
 
44
 
 
45
     <!ENTITY % DocBookHTMLFormsDTD PUBLIC "-//OASIS//DTD DocBook HTML Forms Module V1.0//EN"
 
46
                "http://www.oasis-open.org/docbook/xml/htmlforms/1.0/dbforms.dtd">
 
47
     %DocBookHTMLFormsDTD;
 
48
 
 
49
     See the documentation for detailed information on the parameter
 
50
     entity and module scheme used in DocBook, customizing DocBook and
 
51
     planning for interchange, and changes made since the last release
 
52
     of DocBook.
 
53
-->
 
54
 
 
55
<!ENTITY % forminlines.hook "|html:input|html:button|html:label|html:select|html:textarea">
 
56
<!ENTITY % forms.hook "|html:form">
 
57
 
 
58
<!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
 
59
                   "../../../dtd/xml/4.1.2/docbookx.dtd">
 
60
%docbook;
 
61
 
 
62
<!ENTITY % events
 
63
 "onclick               CDATA           #IMPLIED
 
64
  ondblclick            CDATA           #IMPLIED
 
65
  onmousedown           CDATA           #IMPLIED
 
66
  onmouseup             CDATA           #IMPLIED
 
67
  onmouseover           CDATA           #IMPLIED
 
68
  onmousemove           CDATA           #IMPLIED
 
69
  onmouseout            CDATA           #IMPLIED
 
70
  onkeypress            CDATA           #IMPLIED
 
71
  onkeydown             CDATA           #IMPLIED
 
72
  onkeyup               CDATA           #IMPLIED"
 
73
>
 
74
 
 
75
<!ELEMENT html:form ((%component.mix;)|html:input|html:button
 
76
                        |html:label|html:select|html:textarea)+>
 
77
 
 
78
<!ATTLIST html:form
 
79
        %common.attrib;
 
80
        %events;
 
81
        action          CDATA           #REQUIRED
 
82
        method          (GET|POST)      "GET"
 
83
        onsubmit        CDATA           #IMPLIED
 
84
        onreset         CDATA           #IMPLIED
 
85
>
 
86
 
 
87
<!ENTITY % inputtype  "(text | password | checkbox | radio
 
88
                       | submit | reset | file | hidden | image | button)">
 
89
 
 
90
<!ELEMENT html:input EMPTY>
 
91
<!ATTLIST html:input
 
92
        %common.attrib;
 
93
        %events;
 
94
        type            %inputtype;     "text"
 
95
        name            CDATA           #IMPLIED
 
96
        value           CDATA           #IMPLIED
 
97
        checked         (checked)       #IMPLIED
 
98
        disabled        (disabled)      #IMPLIED
 
99
        readonly        (readonly)      #IMPLIED
 
100
        size            CDATA           #IMPLIED
 
101
        maxlength       CDATA           #IMPLIED
 
102
        src             CDATA           #IMPLIED
 
103
        alt             CDATA           #IMPLIED
 
104
        usemap          CDATA           #IMPLIED
 
105
        tabindex        CDATA           #IMPLIED
 
106
        accesskey       CDATA           #IMPLIED
 
107
        onfocus         CDATA           #IMPLIED
 
108
        onblur          CDATA           #IMPLIED
 
109
        onselect        CDATA           #IMPLIED
 
110
        onchange        CDATA           #IMPLIED
 
111
>
 
112
 
 
113
<!ELEMENT html:button (%para.char.mix;)*>
 
114
<!ATTLIST html:button
 
115
        %common.attrib;
 
116
        %events;
 
117
        name            CDATA           #IMPLIED
 
118
        value           CDATA           #IMPLIED
 
119
        type            (button|submit|reset)   "submit"
 
120
        disabled        (disabled)      #IMPLIED
 
121
        tabindex        CDATA           #IMPLIED
 
122
        accesskey       CDATA           #IMPLIED
 
123
        onfocus         CDATA           #IMPLIED
 
124
        onblur          CDATA           #IMPLIED
 
125
>
 
126
 
 
127
<!ELEMENT html:label (%para.char.mix;)*>
 
128
<!ATTLIST html:label
 
129
        %common.attrib;
 
130
        %events;
 
131
        for             IDREF           #IMPLIED
 
132
        accesskey       CDATA           #IMPLIED
 
133
        onfocus         CDATA           #IMPLIED
 
134
        onblur          CDATA           #IMPLIED
 
135
>
 
136
 
 
137
<!ELEMENT html:select (html:option)+>
 
138
<!ATTLIST html:select
 
139
        %common.attrib;
 
140
        %events;
 
141
        name            CDATA           #IMPLIED
 
142
        size            CDATA           #IMPLIED
 
143
        multiple        (multiple)      #IMPLIED
 
144
        disabled        (disabled)      #IMPLIED
 
145
        tabindex        CDATA           #IMPLIED
 
146
        onfocus         CDATA           #IMPLIED
 
147
        onblur          CDATA           #IMPLIED
 
148
        onchange        CDATA           #IMPLIED
 
149
>
 
150
 
 
151
<!ELEMENT html:option (#PCDATA)>
 
152
<!ATTLIST html:option
 
153
        %common.attrib;
 
154
        %events;
 
155
        selected        (selected)      #IMPLIED
 
156
        disabled        (disabled)      #IMPLIED
 
157
        value           CDATA           #IMPLIED
 
158
>
 
159
 
 
160
<!ELEMENT html:textarea (#PCDATA)>
 
161
<!ATTLIST html:textarea
 
162
        %common.attrib;
 
163
        %events;
 
164
        name            CDATA           #IMPLIED
 
165
        rows            CDATA           #REQUIRED
 
166
        cols            CDATA           #REQUIRED
 
167
        disabled        (disabled)      #IMPLIED
 
168
        readonly        (readonly)      #IMPLIED
 
169
        tabindex        CDATA           #IMPLIED
 
170
        accesskey       CDATA           #IMPLIED
 
171
        onfocus         CDATA           #IMPLIED
 
172
        onblur          CDATA           #IMPLIED
 
173
        onselect        CDATA           #IMPLIED
 
174
        onchange        CDATA           #IMPLIED
 
175
>
 
176
 
 
177
<!-- End of dbforms.dtd V4.0 .............................................. -->
 
178
<!-- ...................................................................... -->