O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

phrase — A span of text

Synopsis

phrase (db.phrase) ::= (text | Bibliography inlines | Error inlines | Graphic inlines | GUI inlines | Indexing inlines | Keyboard inlines | Linking inlines | Markup inlines | Math inlines | Object-orien⁠ted programming inlines | Operating system inlines | Product inlines | Programming inlines | Publishing inlines | Technical inlines | Ubiquitous inlines)*

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.

See Also

abbrev, acronym, emphasis, foreignphrase, phrase (db._phrase), quote, wordasword

Examples

<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
is not too high</phrase>.
</para>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required