summaryrefslogtreecommitdiff
path: root/etc/schema/xhtml-csismap.rnc
blob: abd51f1a4419b2f9543b602229c1d00018b258c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Client-side Image Map Module

area = element area { area.attlist }
area.attlist =
  Common.attrib,
  attribute href { URI.datatype }?,
  shape.attrib,
  coords.attrib,
  attribute nohref { "nohref" }?,
  attribute alt { Text.datatype },
  attribute tabindex { Number.datatype }?,
  attribute accesskey { Character.datatype }?
map =
  element map {
    map.attlist,
    (# This does not use Block.mix
     # because loose.dtd doesn't use %Flow;
     Block.class
     | area)+
  }
map.attlist = CommonIdRequired.attrib
a.attlist &= shape.attrib, coords.attrib
img.attlist &= usemap.attlist
object.attlist &= usemap.attlist
usemap.attlist = attribute usemap { IDREF.datatype }?
shape.attrib =
  attribute shape { "rect" | "circle" | "poly" | "default" }?
coords.attrib = attribute coords { text }?
Inline.class |= map