Text Encoding Initiative

The XML Version of the TEI Guidelines

<q>


<q> (quoted speech or thought) contains a quotation or apparent quotation — a representation of speech or thought marked as being quoted from someone else (whether in fact quoted or not); in narrative, the words are usually those of of a character or speaker; in dictionaries, <q> may be used to mark real or contrived examples of usage.
Attributes (In addition to global attributes and those inherited from hqinter)
type may be used to indicate whether the quoted matter is spoken or thought, or to characterize it more finely.
Datatype: CDATA
Sample values include:
spoken representation of direct speech, usually marked by quotation marks.
thought representation of thought, e.g. internal monologue.
Default: #IMPLIED
direct may be used to indicate whether the quoted matter is regarded as direct or indirect speech.
Datatype: (y | n | unspecified)
Legal values are:
y speech or thought is represented directly.
n speech or thought is represented indirectly, e.g. by use of a marked verbal aspect.
unspecified no claim is made.
Default: unspecified
who identifies the speaker of a piece of direct speech.
Datatype: CDATA
Values: may be an idref
Default: #IMPLIED
Example
And so, as Tiny Tim observed,
<q type="speech">God Bless Us, Every One!</q>
Module Declared in file teicore2; Core tag sets: enabled when any TEI base is enabled
Class hqinter
May contain #PCDATA ab abbr add addSpan address alt altGrp anchor app bibl biblFull biblStruct c caesura camera caption castList cb certainty cit cl corr damage date dateRange dateStruct del delSpan distinct eTree emph expan fLib figure foreign formula fs fsLib fvLib fw gap geogName gloss graph handShift hi index interp interpGrp join joinGrp l label lang lb lg link linkGrp list listBibl m measure mentioned milestone move name note num oRef oVar orgName orig p pRef pVar pb persName phr placeName ptr q quote ref reg respons restore rs s seg sic soCalled sound sp space span spanGrp stage supplied table tech term text time timeRange timeStruct timeline title tree unclear view w witDetail witList xptr xref
May occur within ab add admin argument body camera caption case castList cell cit colloc corr country damage def descrip dictScrap div div0 div1 div2 div3 div4 div5 div6 div7 docEdition eg emph entryFree epigraph epilogue etym figDesc foreign form gen gram gramGrp head hi hyph imprimatur item itype l lang lbl lem meeting metDecl mood note number orth otherForm p per performance pos prologue pron q quote rdg ref region rendition seg set sic sound stage stress subc supplied syll tagUsage tech title titlePart tns tr trans unclear usg view wit witDetail witness writing xr xref
Declaration
<!ELEMENT q %om.RR; %specialPara;> 
<!ATTLIST q  
      %a.global;
      type CDATA #IMPLIED
      direct (y | n | unspecified) "unspecified"
      who CDATA #IMPLIED>
See further 6.3.3 Quotation

Up: 35 Elements