Permalink
Browse files

Added pattern for imagedata SVG and MathML content (so that it could …

…be extended by the XInclude schema)
  • Loading branch information...
ndw committed Oct 4, 2011
1 parent 822f1fc commit c63650edc760015acc5f132f799dd67ee5e8b621
Showing with 6 additions and 2 deletions.
  1. +3 −1 relaxng/schemas/docbook/mathml.rnc
  2. +3 −1 relaxng/schemas/docbook/svg.rnc
@@ -38,6 +38,8 @@ db.equation.content |= db._any.mml+
db.inlineequation.content |= db._any.mml+
db.imageobject.content |= db.imagedata.mathml
db.imagedata.mathml.content = db._any.mml
# ============================================================
[
@@ -72,7 +74,7 @@ div {
element imagedata {
db.imagedata.mathml.attlist,
db.imagedata.mathml.info,
db._any.mml+
db.imagedata.mathml.content+
}
}
@@ -36,6 +36,8 @@ default namespace = "http://docbook.org/ns/docbook"
db.imageobject.content |= db.imagedata.svg
db.imagedata.svg.content = db._any.svg
# ============================================================
[
@@ -70,7 +72,7 @@ div {
element imagedata {
db.imagedata.svg.attlist,
db.imagedata.svg.info,
db._any.svg+
db.imagedata.svg.content+
}
}

0 comments on commit c63650e

Please sign in to comment.