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]
Moduletei
Membersatt.global [TEI ab abbr abstract accMat acquisition add addName addSpan additional additions addrLine address adminInfo altIdentifier am analytic anchor annotation annotationBlock app application author authority availability back bibl biblFull biblScope biblStruct binaryObject binding bindingDesc birth bloc body c cRefPattern calendar calendarDesc catDesc catRef catchwords category cb cell certainty change charDecl choice cit citeData citeStructure citedRange classCode classDecl collation collection colophon condition conversion corr correction correspAction correspContext correspDesc country creation custEvent custodialHist damage date dateline death decoDesc decoNote del delSpan depth desc dim dimensions distinct distributor district div divGen docAuthor docDate docEdition docImprint docTitle edition editionStmt editor editorialDecl ellipsis email emph encodingDesc epigraph event eventName ex expan explicit extent facsimile figDesc figure fileDesc filiation finalRubric floatingText floruit foliation foreign forename form front funder fw g gap gb gen genName gender geo geoDecl geogFeat geogName gloss glyph graphic group handDesc handNote handNotes handShift head headItem headLabel height heraldry hi history hyphenation idno imprint incipit index institution interp interpGrp interpretation item join keywords l label lang langUsage language layout layoutDesc lb lem lg licence line link linkGrp list listAnnotation listApp listBibl listChange listEvent listNym listObject listOrg listPerson listPlace listPrefixDef listRelation listTranspose localProp location locus locusGrp m mapping material measure measureGrp media meeting mentioned metamark milestone mod monogr msContents msDesc msFrag msIdentifier msItem msItemStruct msName msPart musicNotation name namespace normalization notatedMusic note noteGrp notesStmt num nym object objectDesc objectIdentifier objectName objectType offset org orgName orig origDate origPlace origin p particDesc path pb pc persName persPronouns person personGrp persona phr physDesc place placeName postBox postCode precision prefixDef principal profileDesc projectDesc provenance ptr pubPlace publicationStmt publisher punctuation q quotation quote rb rdg rdgGrp recordHist redo ref refState refsDecl reg region relatedItem relation rendition repository resp respStmt retrace revisionDesc roleName row rs rt rubric ruby s said samplingDecl schemaRef scriptDesc scriptNote seal sealDesc secFol secl seg segmentation series seriesStmt settingDesc settlement sic signatures soCalled source sourceDesc sourceDoc sp space speaker sponsor stage stamp standOff state stdVals street styleDefDecl subst substJoin summary supplied support supportDesc surface surfaceGrp surname surplus surrogates table tagUsage tagsDecl taxonomy teiCorpus teiHeader term text textClass textLang time title titleStmt transcriptionDesc transpose typeDesc typeNote unclear undo unicodeProp unihanProp unit unitDecl unitDef variantEncoding w watermark width wit xenoData zone]
Attributes
sourcespecifies 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.