Skip to main content
Version: DocBook V4.5

quote

quote — An inline quotation

Synopsis​

Mixed Content Model​

quote ::=
(#PCDATA|footnoteref|xref|biblioref|abbrev|acronym|citation|
citerefentry|citetitle|citebiblioid|emphasis|firstterm|
foreignphrase|glossterm|termdef|footnote|phrase|orgname|quote|
trademark|wordasword|personname|link|olink|ulink|action|
application|classname|methodname|interfacename|exceptionname|
ooclass|oointerface|ooexception|package|command|computeroutput|
database|email|envar|errorcode|errorname|errortype|errortext|
filename|function|guibutton|guiicon|guilabel|guimenu|guimenuitem|
guisubmenu|hardware|interface|keycap|keycode|keycombo|keysym|
literal|code|constant|markup|medialabel|menuchoice|mousebutton|
option|optional|parameter|prompt|property|replaceable|
returnvalue|sgmltag|structfield|structname|symbol|systemitem|uri|
token|type|userinput|varname|nonterminal|anchor|author|
authorinitials|corpauthor|corpcredit|modespec|othercredit|
productname|productnumber|revhistory|remark|subscript|
superscript|inlinegraphic|inlinemediaobject|inlineequation|
synopsis|cmdsynopsis|funcsynopsis|classsynopsis|fieldsynopsis|
constructorsynopsis|destructorsynopsis|methodsynopsis|indexterm|
beginpage)*

Attributes​

Common attributes

Description​

Quote surrounds an inline quotation. Using an element for quotations is frequently more convenient than entering the character entities for the quotation marks by hand, and makes it possible for a presentation system to alter the format of the quotation marks.

Block quotations are properly identified as BlockQuotes.

Processing expectations​

Formatted inline. The Quote element is expected to generate the proper quotation marks. These may be influenced by the Lang attribute on an ancestor element. For example, a quote in French might use «guillemets» instead of English “quote marks.”

Future Changes​

The InterfaceDefinition element will be discarded in DocBook V4.0. It will no longer be available in the content model of this element.

Examples​

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<para>
This software is provided <quote>as is</quote>, without expressed
or implied warranty.
</para>

This software is provided “as is”, without expressed or implied warranty.

For additional examples, see also bookinfo, link.