default namespace = "http://docbook.org/ns/docbook"
db.equation.content |= db._any.mml+
+db.imageobject.content |= db.imagedata.mathml
-# Allow imagedata to contain MathML
+# ============================================================
-db.imagedata.mathml.role.attribute = attribute role { text }
+[
+ db:refname [ "imagedata" ]
+ db:refpurpose [ "A MathML expression in a media object" ]
+]
+div {
+ db.imagedata.mathml.role.attribute = attribute role { text }
-db.imagedata.mathml.attlist =
+ db.imagedata.mathml.attlist =
db.imagedata.mathml.role.attribute?
& db.common.attributes
& attribute format { "mathml" }?
& db.imagedata.depth.attribute?
& db.imagedata.contentdepth.attribute?
-db.imagedata.mathml.info = db._info.title.forbidden
+ db.imagedata.mathml.info = db._info.title.forbidden
-db.imagedata.mathml =
- element imagedata {
- db.imagedata.mahtml.attlist,
- db.imagedata.mathml.info,
- db._any.mml+
- }
+ db.imagedata.mathml =
+ element imagedata {
+ db.imagedata.attlist,
+ db.imagedata.info,
+ db._any.mml+
+ }
+}
-db.imageobject.content |= db.imagedata.mathml
+# ============================================================
[
db:refname [ "mml:*" ]