view etc/schema/xhtml-attribs.rnc @ 111114:674f04c442a5

The range [STARTPOS..ENDPOS] is inclusive in strings. Tested with multiline display strings. xdisp.c (mouse_face_from_string_pos): Fix off-by-one error when testing against ENDPOS.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 23 Oct 2010 14:58:12 +0200
parents 38f93f3d00a2
children
line wrap: on
line source

# Common Attributes Module

id.attrib = attribute id { ID.datatype }?
class.attrib = attribute class { NMTOKENS.datatype }?
title.attrib = attribute title { Text.datatype }?
Core.attrib = id.attrib, class.attrib, title.attrib
lang.attrib = attribute xml:lang { LanguageCode.datatype }?
I18n.attrib = lang.attrib
Common.attrib = Core.attrib, I18n.attrib
CommonIdRequired.attrib =
  attribute id { ID.datatype },
  class.attrib,
  title.attrib,
  I18n.attrib