view etc/schema/xhtml-csismap.rnc @ 112175:e09ac5ef1fe4

Fix r99654 change -- rename :on/off-image widget props to :on/off-glyph. * wid-edit.el (visibility): Replace :on-image and :off-image widget properties with :on-glyph and :off-glyph, for consistency with the `visibility' widget. (widget-toggle-value-create, widget-visibility-value-create): Merge into a single function `widget-toggle-value-create'. * cus-edit.el (custom-variable-value-create, custom-visibility) (custom-face-edit-value-create, custom-face-value-create): Replace :on-image and :off-image widget properties with :on-glyph and :off-glyph, for consistency with the `visibility' widget.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 09 Jan 2011 16:05:53 -0500
parents 38f93f3d00a2
children
line wrap: on
line source

# 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