view etc/schema/xhtml-hypertext.rnc @ 94620:070ce953fab4

Correct buggy dispatch logic.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Sun, 04 May 2008 23:24:49 +0000
parents 38f93f3d00a2
children
line wrap: on
line source

# Hypertext Module

# Depends on text module.

a = element a { a.attlist, Inline.model }
a.attlist =
  Common.attrib,
  attribute href { URI.datatype }?,
  attribute charset { Charset.datatype }?,
  attribute type { ContentType.datatype }?,
  attribute hreflang { LanguageCode.datatype }?,
  attribute rel { LinkTypes.datatype }?,
  attribute rev { LinkTypes.datatype }?,
  attribute accesskey { Character.datatype }?,
  attribute tabindex { Number.datatype }?
Inline.class |= a