Name
example — A formal example, with a title
Synopsis
example ::=
((((title &
titleabbrev?),
info? db.titleforbidden.info) |
info db.titleonlyreq.info),
(annotation | bridgehead |
remark | revhistory | Indexing inlines | Admonition elements | Formal elements | Graphic elements | Informal elements | List elements | Paragraph elements | Publishing elements | Synopsis elements | Technical elements | Verbatim elements)+,
caption? db.caption)
Attribute synopsis
Common attributes and common linking attributes.
Additional attributes:
floatstyle
label
At most one of:
width (nonNegativeInteger)
pgwide (enumeration) = “0” | “1”
Additional constraints
examplemust not occur among the children or descendants ofexample.figuremust not occur among the children or descendants ofexample.tablemust not occur among the children or descendants ofexample.equationmust not occur among the children or descendants ofexample.cautionmust not occur among the children or descendants ofexample.importantmust not occur among the children or descendants ofexample.notemust not occur among the children or descendants ofexample.tipmust not occur among the children or descendants ofexample.warningmust not occur among the children or descendants ofexample.
Description
An example is a formal example with a title.
Examples often contain programlistings or other large
block elements. Frequently, they are given xml:ids and referenced from the text with
xref or link.
Processing expectations
Formatted as a displayed block. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access