1 <!-- ...................................................................... --> |
|
2 <!-- XHTML Client-side Image Map Module .................................. --> |
|
3 <!-- file: xhtml-csismap-1.mod |
|
4 |
|
5 This is XHTML, a reformulation of HTML as a modular XML application. |
|
6 Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved. |
|
7 Revision: $Id: xhtml-csismap-1.mod,v 1.1 2004-02-23 16:11:21 ylafon Exp $ SMI |
|
8 |
|
9 This DTD module is identified by the PUBLIC and SYSTEM identifiers: |
|
10 |
|
11 PUBLIC "-//W3C//ELEMENTS XHTML Client-side Image Maps 1.0//EN" |
|
12 SYSTEM "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-csismap-1.mod" |
|
13 |
|
14 Revisions: |
|
15 (none) |
|
16 ....................................................................... --> |
|
17 |
|
18 <!-- Client-side Image Maps |
|
19 |
|
20 area, map |
|
21 |
|
22 This module declares elements and attributes to support client-side |
|
23 image maps. This requires that the Image Module (or a module |
|
24 declaring the img element type) be included in the DTD. |
|
25 |
|
26 These can be placed in the same document or grouped in a |
|
27 separate document, although the latter isn't widely supported |
|
28 --> |
|
29 |
|
30 <!ENTITY % area.element "INCLUDE" > |
|
31 <![%area.element;[ |
|
32 <!ENTITY % area.content "EMPTY" > |
|
33 <!ENTITY % area.qname "area" > |
|
34 <!ELEMENT %area.qname; %area.content; > |
|
35 <!-- end of area.element -->]]> |
|
36 |
|
37 <!ENTITY % Shape.datatype "( rect | circle | poly | default )"> |
|
38 <!ENTITY % Coords.datatype "CDATA" > |
|
39 |
|
40 <!ENTITY % area.attlist "INCLUDE" > |
|
41 <![%area.attlist;[ |
|
42 <!ATTLIST %area.qname; |
|
43 %Common.attrib; |
|
44 href %URI.datatype; #IMPLIED |
|
45 shape %Shape.datatype; 'rect' |
|
46 coords %Coords.datatype; #IMPLIED |
|
47 nohref ( nohref ) #IMPLIED |
|
48 alt %Text.datatype; #REQUIRED |
|
49 tabindex %Number.datatype; #IMPLIED |
|
50 accesskey %Character.datatype; #IMPLIED |
|
51 > |
|
52 <!-- end of area.attlist -->]]> |
|
53 |
|
54 <!-- modify anchor attribute definition list |
|
55 to allow for client-side image maps |
|
56 --> |
|
57 <!ATTLIST %a.qname; |
|
58 shape %Shape.datatype; 'rect' |
|
59 coords %Coords.datatype; #IMPLIED |
|
60 > |
|
61 |
|
62 <!-- modify img attribute definition list |
|
63 to allow for client-side image maps |
|
64 --> |
|
65 <!ATTLIST %img.qname; |
|
66 usemap IDREF #IMPLIED |
|
67 > |
|
68 |
|
69 <!-- modify form input attribute definition list |
|
70 to allow for client-side image maps |
|
71 --> |
|
72 <!ATTLIST %input.qname; |
|
73 usemap IDREF #IMPLIED |
|
74 > |
|
75 |
|
76 <!-- modify object attribute definition list |
|
77 to allow for client-side image maps |
|
78 --> |
|
79 <!ATTLIST %object.qname; |
|
80 usemap IDREF #IMPLIED |
|
81 > |
|
82 |
|
83 <!-- 'usemap' points to the 'id' attribute of a <map> element, |
|
84 which must be in the same document; support for external |
|
85 document maps was not widely supported in HTML and is |
|
86 eliminated in XHTML. |
|
87 |
|
88 It is considered an error for the element pointed to by |
|
89 a usemap IDREF to occur in anything but a <map> element. |
|
90 --> |
|
91 |
|
92 <!ENTITY % map.element "INCLUDE" > |
|
93 <![%map.element;[ |
|
94 <!ENTITY % map.content |
|
95 "(( %Block.mix; ) | %area.qname; )+" |
|
96 > |
|
97 <!ENTITY % map.qname "map" > |
|
98 <!ELEMENT %map.qname; %map.content; > |
|
99 <!-- end of map.element -->]]> |
|
100 |
|
101 <!ENTITY % map.attlist "INCLUDE" > |
|
102 <![%map.attlist;[ |
|
103 <!ATTLIST %map.qname; |
|
104 %XHTML.xmlns.attrib; |
|
105 id ID #REQUIRED |
|
106 %class.attrib; |
|
107 %title.attrib; |
|
108 %Core.extra.attrib; |
|
109 %I18n.attrib; |
|
110 %Events.attrib; |
|
111 > |
|
112 <!-- end of map.attlist -->]]> |
|
113 |
|
114 <!-- end of xhtml-csismap-1.mod --> |
|