Permalink
Browse files

Fix issue #277 add a result element

  • Loading branch information...
ndw committed Jun 20, 2013
1 parent 2f46dbf commit 386f1c3707bc44ca80e1a81dd1d79345bbb0173b
Showing with 30 additions and 3 deletions.
  1. +30 −3 relaxng/schemas/docbook/pool.rnc
@@ -1207,7 +1207,8 @@ div {
db.procedure.attlist,
db.procedure.info,
db.all.blocks*,
db.step+
db.step+,
db.result?
}
}
@@ -1234,8 +1235,12 @@ div {
db.step = element step {
db.step.attlist,
db.step.info,
((db.all.blocks+, (((db.substeps|db.stepalternatives), db.all.blocks*))?)
| ((db.substeps|db.stepalternatives), db.all.blocks*))
(
(db.all.blocks+,
(((db.substeps|db.stepalternatives), db.all.blocks*))?,
db.result?
)
| ((db.substeps|db.stepalternatives), db.all.blocks*, db.result?))
}
}
@@ -1290,6 +1295,28 @@ div {
# ======================================================================
[
db:refname [ "result" ]
db:refpurpose [ "A wrapper for identifying the results of a procedure or step" ]
]
div {
db.result.role.attribute = attribute role { text }
db.result.attlist =
db.result.role.attribute?
& db.common.attributes
& db.common.linking.attributes
db.result =
element result {
db.result.attlist,
db.all.blocks+
}
}
# ======================================================================
[
db:refname [ "sidebar" ]
db:refpurpose [ "A portion of a document that is isolated from the main narrative flow" ]

0 comments on commit 386f1c3

Please sign in to comment.