phrase (db.phrase)

phrase — A span of text.

Synopsis

phrase (db.phrase) ::=

Attributes

Common attributes and common linking 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.

Parents

These elements contain phrase: caption (db.html.caption), citetitle, emphasis, entry, html:button, html:label, html:legend, link (db.link), literallayout, para, phrase (db.phrase), programlisting, quote, rddl:resource, subtitle, summary, td, term, textobject, th, title, titleabbrev.

Children

The following elements occur in phrase: text, abbrev, acronym, author, citetitle, command, computeroutput, editor, email, emphasis, filename, footnote, footnoteref, html:button, html:fieldset, html:input, html:label, html:select, html:textarea, inlinemediaobject, link (db.link), literal, option, orgname, personname, phrase (db.phrase), quote, rddl:resource, replaceable, subscript, superscript, systemitem, trademark, userinput, xref.

See Also

Related elements: abbrev, acronym, emphasis, phrase (db._phrase), quote.

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.