<foreign> (foreign) identifies a word or phrase as belonging to some language other than that of the surrounding text.
Attributes:
lang (language) identifies the language of the word or phrase marked.
Datatype: IDREF
Values: contains a language code (associated with some writing system declaration) for the language in question; where applicable, the codes of ISO 639 should be used.
Default: #IMPLIED
Example:
Note

It is strongly recommended that the lang attribute be consistently specified on all <foreign> elements.

Example
   This is heathen Greek to you still?
   Your <foreign lang=lat>lapis philosophicus</foreign>?
Note

This element is intended for use only where no other element is available to mark the phrase or words concerned. The global lang attribute should be used in preference to this element where it is intended to mark the language of the whole of some text element.

The <distinct> element may be used to identify phrases belonging to sublanguages or registers not generally regarded as true languages.

Tagsetbase tag set for common core features
Classhqphrase [and indirectly also:] phrase
Filenameteicore2
Content: free prose
Parentsab abbr activity actor add addName addrLine admin affiliation author authority bibl biblScope birth bloc byline camera caption case castItem catDesc cell channel cl classCode closer colloc constitution corr country creation damage dataDesc date dateRange def del derivation desc descrip distance distinct distributor docAuthor docDate docEdition docImprint domain edition editor education emph equiv etym expan extent fDescr factuality figDesc firstLang foreign forename form fsDescr funder fw gen genName gloss gram gramGrp head headItem headLabel hi hyph imprimatur interaction item itype l label lang langKnown language lbl lem locale measure meeting mentioned mood name nameLink note num number occasion occupation opener orgDivn orgName orgTitle orgType orig orth otherForm p per persName phr placeName pos preparedness principal pron pubPlace publisher purpose q quote rdg re ref reg region rendition residence resp restore role roleDesc roleName rs s salute seg sense set settlement sic signed soCalled socecStatus sound speaker sponsor stage street stress subc supplied surname syll symbol tagUsage tech term time timeRange title titlePart tns tr trailer trans u unclear usg valDesc view wit witDetail witness writing xr xref
Children#PCDATA abbr add address app att bibl biblFull biblStruct c caesura camera caption castList cit cl corr damage date dateRange dateStruct del distinct emph expan figure foreign formula fw geogName gi gloss handShift hi label lang link list listBibl m measure mentioned move name note num oRef oVar orgName orig pRef pVar persName phr placeName ptr q quote ref reg restore rs s seg sic soCalled sound space stage supplied table tag tech term text time timeRange timeStruct title unclear val view w witDetail xptr xref
Declaration
<!ELEMENT foreign       - -  (%paraContent;)                    >
<!ATTLIST foreign            %a.analysis
                             %a.linking
                             %a.terminology
          id                 ID                  #IMPLIED
          n                  CDATA               #IMPLIED
          rend               CDATA               #IMPLIED
          lang               IDREF               #IMPLIED       >
See 6.3.2.1

Back to index