phrase (db.phrase)
phrase — A span of text.
Synopsis
phrase (db.phrase) ::=
- Zero or more of:
- text
inlinestagedir
templatename
- Bibliography inlines
- Graphic inlines
- Indexing inlines
- Linking inlines
- Markup inlines
- Math inlines
- Product inlines
- Publishing inlines
abbrev
acronym
coref
date
emphasis
(db.emphasis)firstterm
(db._firstterm)firstterm
(db.firstterm)footnote
footnoteref
foreignphrase
(db.foreignphrase)glossterm
(db._glossterm)glossterm
(db.glossterm)phrase
(db.phrase)quote
(db.quote)revnumber
subscript
superscript
wordasword
- Technical inlines
- Ubiquitous inlines
abbrev
acronym
alt
anchor
biblioref
coref
date
emphasis
(db._emphasis)firstterm
(db._firstterm)footnote
footnoteref
foreignphrase
(db._foreignphrase)glossterm
(db._glossterm)indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
phrase
(db._phrase)quote
(db._quote)remark
subscript
superscript
trademark
wordasword
xref
Attributes
Common attributes and common linking attributes.
No additional attributes.
Description
The phrase
element in DocBook has no specific
semantic. It is provided as a wrapper around a selection of words
smaller than a paragraph so that it is possible to provide an xml:id
or other attributes for it.
For example, if you are making note of changes to a document using
one of the effectivity attributes, you might use
phrase
to mark up specific sentences with
revisions.
Processing expectations
Formatted inline.
Attributes
Common attributes and common linking attributes.
- any attribute
Any attribute in any other explicit namespace
Parents
These elements contain phrase
: biblioentry
, bibliomixed
, bibliomset
, biblioset
, bridgehead
, citation
, citetitle
, contrib
, emphasis
(db.emphasis), entry
, firstterm
(db.firstterm), foreignphrase
(db.foreignphrase), glosssee
, glossseealso
, glossterm
(db.glossterm), inlinestagedir
, line
, link
, literallayout
, member
, meta
(db.meta.content), olink
, orgdiv
, para
, phrase
(db.phrase), primary
, quote
(db.quote), remark
, secondary
, see
, seealso
, simpara
, subtitle
, term
, termdef
, tertiary
, textobject
, title
, titleabbrev
.
Children
The following elements occur in phrase
: text, abbrev
, acronym
, alt
, anchor
, author
, biblioref
, citation
, citebiblioid
, citetitle
, coref
, date
, editor
, email
, emphasis
(db._emphasis), emphasis
(db.emphasis), firstterm
(db._firstterm), firstterm
(db.firstterm), footnote
, footnoteref
, foreignphrase
(db._foreignphrase), foreignphrase
(db.foreignphrase), glossterm
(db._glossterm), glossterm
(db.glossterm), indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), inlineequation
, inlinemediaobject
, inlinestagedir
, jobtitle
, link
, literal
, olink
, optional
, org
, orgname
, person
, personname
, phrase
(db._phrase), phrase
(db.phrase), productname
, productnumber
, quote
(db._quote), quote
(db.quote), remark
, revnumber
, subscript
, superscript
, templatename
, termdef
, trademark
, uri
, wordasword
, xref
.
See Also
Related elements: abbrev
, acronym
, emphasis
, foreignphrase
, phrase
(db._phrase), quote
, wordasword
.
Examples
1 |<para xmlns='http://docbook.org/ns/docbook'>Effectivity attributes can
|be used to keep track of modifications to a document
|<phrase revisionflag="deleted">at the word or sentence level</phrase>
|<phrase revisionflag="added"> as long as the number and complexity of changes
5 |is not too high</phrase>.
|</para>
Effectivity attributes can be used to keep track of modifications to a document at the word or sentence level as long as the number and complexity of changes is not too high.