view etc/schema/xhtml-attribs.rnc @ 86538:57f0d08e5bbe

Add 2007 to copyright years. Switch license to standard GPLv3+ text. (nxml-get-char-name, nxml-insert-named-char): Use mapc rather than mapcar.
author Glenn Morris <rgm@gnu.org>
date Wed, 28 Nov 2007 04:08:30 +0000
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