view etc/schema/xhtml-attribs.rnc @ 99511:c4253d0af9b0

(x_set_alpha): Set alpha to -1 if nil given.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 12 Nov 2008 15:52:12 +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