summaryrefslogtreecommitdiff
path: root/etc/schema/xhtml-ruby.rnc
diff options
context:
space:
mode:
authorMark A. Hershberger <mah@everybody.org>2007-11-23 06:58:00 +0000
committerMark A. Hershberger <mah@everybody.org>2007-11-23 06:58:00 +0000
commit8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc (patch)
tree7bcd47a7dcbbad100dd3e8f8a7e08b48353c58a8 /etc/schema/xhtml-ruby.rnc
parentf7cf8b2009b0bc2526d50c3455f737a543122dd4 (diff)
downloademacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.tar.gz
emacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.tar.bz2
emacs-8cd39fb3c4cf47d2464f00eaa69c587e17dd11cc.zip
Initial merge of nxml
Diffstat (limited to 'etc/schema/xhtml-ruby.rnc')
-rw-r--r--etc/schema/xhtml-ruby.rnc21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/schema/xhtml-ruby.rnc b/etc/schema/xhtml-ruby.rnc
new file mode 100644
index 00000000000..e55614dfb95
--- /dev/null
+++ b/etc/schema/xhtml-ruby.rnc
@@ -0,0 +1,21 @@
+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