view etc/schema/xhtml-ruby.rnc @ 97756:7e52eba0b75f

X-coding-system incompatibility: http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg00855.html "This appears to be fixed in emacs 22.1.1." "That's as good as we can hope for, I think."
author Glenn Morris <rgm@gnu.org>
date Wed, 27 Aug 2008 07:05:33 +0000
parents 38f93f3d00a2
children
line wrap: on
line source

ruby =
  element ruby {
    ruby.attlist,
    ((rb,
      (rt | (rp, rt, rp)))
     | (rbc, rtc, rtc?))
  }
ruby.attlist = Common.attrib
rbc = element rbc { rbc.attlist, rb+ }
rbc.attlist = Common.attrib
rtc = element rtc { rtc.attlist, rt+ }
rtc.attlist = Common.attrib
rb = element rb { rb.attlist, Inline.model }
rb.attlist = Common.attrib
rt = element rt { rt.attlist, Inline.model }
rt.attlist =
  Common.attrib,
  attribute rt { Number.datatype }?
rp = element rp { rp.attlist, text }
rp.attlist = Common.attrib
Inline.class |= ruby