att.global.source

att.global.source provides attributes used by elements to point to an external source. [1.3.1.1.4 Sources, certainty, and responsibility 3.3.3 Quotation 8.3.4 Writing]
Module tei — The TEI Infrastructure
Members att.global [TEI ab abbr abstract accMat acquisition activity actor add addName addSpan additional additions addrLine address adminInfo affiliation age alt altGrp altIdent altIdentifier alternate am analytic anchor annotation annotationBlock anyElement app appInfo application arc argument att attDef attList attRef author authority availability back bibl biblFull biblScope biblStruct bicond binary binaryObject binding bindingDesc birth bloc body broadcast byline c cRefPattern caesura calendar calendarDesc camera caption case castGroup castItem castList catDesc catRef catchwords category cb cell certainty change channel char charDecl choice cit citeData citeStructure citedRange cl classCode classDecl classRef classSpec classes climate closer code collation collection colloc colophon cond condition constitution constraint constraintSpec content conversion corr correction correspAction correspContext correspDesc country creation custEvent custodialHist damage damageSpan dataFacet dataRef dataSpec datatype date dateline death decoDesc decoNote def default defaultVal del delSpan depth derivation desc dictScrap dim dimensions distinct distributor district div div1 div2 div3 div4 div5 div6 div7 divGen docAuthor docDate docEdition docImprint docTitle domain eLeaf eTree edition editionStmt editor editorialDecl education eg egXML elementRef elementSpec ellipsis email emph empty encodingDesc entry entryFree epigraph epilogue equipment equiv etym event ex exemplum expan explicit extent f fDecl fDescr fLib facsimile factuality faith figDesc figure fileDesc filiation finalRubric floatingText floruit foliation foreign forename forest form formula front fs fsConstraints fsDecl fsDescr fsdDecl fsdLink funder fvLib fw g gap gb gen genName gender geo geoDecl geogFeat geogName gi gloss glyph gram gramGrp graph graphic group handDesc handNote handNotes handShift head headItem headLabel height heraldry hi history hom hyph hyphenation iNode iType ident idno if iff imprimatur imprint incident incipit index institution interaction interp interpGrp interpretation item join joinGrp keywords kinesic l label lacunaEnd lacunaStart lang langKnowledge langKnown langUsage language layout layoutDesc lb lbl leaf lem lg licence line link linkGrp list listAnnotation listApp listBibl listChange listEvent listForest listNym listObject listOrg listPerson listPlace listPrefixDef listRef listRelation listTranspose listWit localProp locale location locus locusGrp m macroRef macroSpec mapping material measure measureGrp media meeting memberOf mentioned metDecl metSym metamark milestone mod model modelGrp modelSequence moduleRef moduleSpec monogr mood move msContents msDesc msFrag msIdentifier msItem msItemStruct msName msPart musicNotation name nameLink namespace nationality node normalization notatedMusic note noteGrp notesStmt num number numeric nym oRef object objectDesc objectIdentifier objectName objectType occupation offset opener org orgName orig origDate origPlace origin orth outputRendition p pRef param paramList paramSpec particDesc path pause pb pc per performance persName persPronouns person personGrp persona phr physDesc place placeName population pos postBox postCode postscript precision prefixDef preparedness principal profileDesc projectDesc prologue pron provenance ptr pubPlace publicationStmt publisher punctuation purpose q quotation quote rb rdg rdgGrp re recordHist recording recordingStmt redo ref refState refsDecl reg region relatedItem relation remarks rendition repository residence resp respStmt respons restore retrace revisionDesc rhyme role roleDesc roleName root row rs rt rubric ruby s said salute samplingDecl schemaRef schemaSpec scriptDesc scriptNote scriptStmt seal sealDesc secFol secl seg segmentation sense sequence series seriesStmt set setting settingDesc settlement sex shift sic signatures signed soCalled socecStatus sound source sourceDesc sourceDoc sp spGrp space span spanGrp speaker specDesc specGrp specGrpRef specList sponsor stage stamp standOff state stdVals street stress string styleDefDecl subc subst substJoin summary superEntry supplied support supportDesc surface surfaceGrp surname surplus surrogates syll symbol table tag tagUsage tagsDecl taxonomy tech teiCorpus teiHeader term terrain text textClass textDesc textLang textNode then time timeline title titlePage titlePart titleStmt tns trailer trait transcriptionDesc transpose tree triangle typeDesc typeNote u unclear undo unicodeProp unihanProp unit unitDecl unitDef usg vAlt vColl vDefault vLabel vMerge vNot vRange val valDesc valItem valList variantEncoding view vocal w watermark when width wit witDetail witEnd witStart witness writing xenoData xr zone]
Attributes
source⚓︎ specifies the source from which some aspect of this element is drawn.
Status Optional
Datatype 1–∞ occurrences of teidata.pointer separated by whitespace
Schematron

<sch:rule context="tei:*[@source]">
<sch:let name="srcs"
 value="tokenize( normalize-space(@source),' ')"/>

<sch:report test="( self::tei:classRef | self::tei:dataRef | self::tei:elementRef | self::tei:macroRef | self::tei:moduleRef | self::tei:schemaSpec ) and $srcs[2]"> When used on a schema description element (like
<sch:value-of select="name(.)"/>), the @source attribute
should have only 1 value. (This one has <sch:value-of select="count($srcs)"/>.)
</sch:report>
</sch:rule>
Note

The source attribute points to an external source. When used on an element describing a schema component (classRef, dataRef, elementRef, macroRef, moduleRef, or schemaSpec), it identifies the source from which declarations for the components should be obtained.

On other elements it provides a pointer to the bibliographical source from which a quotation or citation is drawn.

In either case, the location may be provided using any form of URI, for example an absolute URI, a relative URI, a private scheme URI of the form tei:x.y.z, where x.y.z indicates the version number, e.g. tei:4.3.2 for TEI P5 release 4.3.2 or (as a special case) tei:current for whatever is the latest release, or a private scheme URI that is expanded to an absolute URI as documented in a prefixDef.

When used on elements describing schema components, source should have only one value; when used on other elements multiple values are permitted.

Example
<p>
<!-- ... --> As Willard McCarty (<bibl xml:id="mcc_2012">2012, p.2</bibl>) tells us, <quote source="#mcc_2012">‘Collaboration’ is a problematic and should be a contested
   term.</quote>
<!-- ... -->
</p>
Example
<p>
<!-- ... -->
 <quote source="#chicago_15_ed">Grammatical theories are in flux, and the more we learn, the
   less we seem to know.</quote>
<!-- ... -->
</p>
<!-- ... -->
<bibl xml:id="chicago_15_ed">
 <title level="m">The Chicago Manual of Style</title>,
<edition>15th edition</edition>. <pubPlace>Chicago</pubPlace>: <publisher>University of
   Chicago Press</publisher> (<date>2003</date>), <biblScope unit="page">p.147</biblScope>.

</bibl>
Example
<elementRef key="psource="tei:2.0.1"/>

Include in the schema an element named p available from the TEI P5 2.0.1 release.

Example
<schemaSpec ident="myODD"
 source="mycompiledODD.xml">

<!-- further declarations specifying the components required -->
</schemaSpec>

Create a schema using components taken from the file mycompiledODD.xml.