xhtml-csismap.rnc 817 B

123456789101112131415161718192021222324252627282930
  1. # Client-side Image Map Module
  2. area = element area { area.attlist }
  3. area.attlist =
  4. Common.attrib,
  5. attribute href { URI.datatype }?,
  6. shape.attrib,
  7. coords.attrib,
  8. attribute nohref { "nohref" }?,
  9. attribute alt { Text.datatype },
  10. attribute tabindex { Number.datatype }?,
  11. attribute accesskey { Character.datatype }?
  12. map =
  13. element map {
  14. map.attlist,
  15. (# This does not use Block.mix
  16. # because loose.dtd doesn't use %Flow;
  17. Block.class
  18. | area)+
  19. }
  20. map.attlist = CommonIdRequired.attrib
  21. a.attlist &= shape.attrib, coords.attrib
  22. img.attlist &= usemap.attlist
  23. object.attlist &= usemap.attlist
  24. usemap.attlist = attribute usemap { IDREF.datatype }?
  25. shape.attrib =
  26. attribute shape { "rect" | "circle" | "poly" | "default" }?
  27. coords.attrib = attribute coords { text }?
  28. Inline.class |= map