Example: <schemaSpec> (schema specification)

These search results reproduce every example of the use of <schemaSpec> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <schemaSpec> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

22 Documentation Elements


<classRef>

<schemaSpec ident="myTEIestart="TEI">
 <moduleRef key="tei"/>
 <moduleRef key="core"
  include="abbr add core addrLine address author bibl biblScope choice cit corr date del desc divGen editor emph expan foreign gap gloss graphic head hi index item l label lb lg list listBibl mentioned milestone name note num orig p pb ptr pubPlace publisher q ref reg relatedItem resp respStmt rs sic soCalled sp speaker stage teiCorpus term time title unclear"/>

 <moduleRef key="header"
  include="authority availability catRef category change classCode classDecl creation distributor edition editionStmt editorialDecl encodingDesc extent fileDesc funder idno keywords langUsage language licence notesStmt principal profileDesc projectDesc publicationStmt refsDecl revisionDesc samplingDecl seriesStmt sourceDesc sponsor taxonomy teiHeader textClass titleStmt"/>

 <moduleRef key="textstructure"
  include="TEI argument back body byline closer dateline div docAuthor docDate docEdition docImprint docTitle epigraph front group opener postscript salute signed text titlePage titlePart trailer"/>

 <classRef key="att.global.facs"/>
</schemaSpec>

<macroRef>

<schemaSpec ident="myTEI"
 source="http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml">

<!-- ... -->
 <macroRef key="data.text"
  source="tei:1.5.0"/>

<!-- ... -->
</schemaSpec>

<schemaSpec>

<schemaSpec prefix="TEI_ident="testsvg"
 start="TEI svg">

 <moduleRef source="tei:current"
  key="header"/>

 <moduleRef key="core"/>
 <moduleRef key="drama"/>
 <moduleRef url="svg11.rng"/>
</schemaSpec>

22.5 Building a Schema

<schemaSpec ident="example">
 <moduleRef key="core"/>
 <moduleRef key="linking"/>
</schemaSpec>

22.5 Building a Schema

<schemaSpec ident="example">
 <moduleRef key="core"
  except="add del orig reg"/>

 <moduleRef key="linking"
  include="linkGroup link"/>

</schemaSpec>

22.5 Building a Schema

<schemaSpec ident="example">
 <moduleRef key="core"
  except="add del orig reg"/>

 <elementRef key="linkGroup"/>
 <elementRef key="link"/>
</schemaSpec>

22.5 Building a Schema

<schemaSpec ident="example">
 <moduleRef key="teiheader"/>
 <moduleRef key="verse"/>
 <elementSpec ident="soundClip">
  <classes>
   <memberOf key="model.pPart.data"/>
  </classes>
 </elementSpec>
</schemaSpec>

22.5 Building a Schema

<schemaSpec ident="example">
 <moduleRef key="teiheader"/>
 <moduleRef key="teistructure"/>
 <elementSpec ident="headmode="change">
  <content>
   <rng:ref name="macro.xtext"/>
  </content>
 </elementSpec>
</schemaSpec>

22.6 Combining TEI and Non-TEI Modules

<schemaSpec prefix="TEI_ident="testsvg"
 start="TEI svg">

 <moduleRef key="header"/>
 <moduleRef key="core"/>
 <moduleRef key="tei"/>
 <moduleRef key="textstructure"/>
 <moduleRef url="svg11.rng"/>
</schemaSpec>

1 The TEI Infrastructure


1.2.1 A Simple Customization

<schemaSpec ident="TEI-minimalstart="TEI">
 <moduleRef key="tei"/>
 <moduleRef key="header"/>
 <moduleRef key="core"/>
 <moduleRef key="textstructure"/>
</schemaSpec>

1.2.2 A Larger Customization

<schemaSpec ident="TEI-PROJECTstart="TEI">
 <moduleRef key="tei"/>
 <moduleRef key="header"/>
 <moduleRef key="core"/>
 <moduleRef key="textstructure"/>
 <moduleRef key="msdescription"/>
<!-- manuscript description -->
 <moduleRef key="transcr"/>
<!-- transcription of primary sources -->
 <moduleRef key="figures"/>
<!-- figures and tables -->
 <moduleRef key="namesdates"/>
<!-- names, dates, people, and places -->
</schemaSpec>

1.2.2 A Larger Customization

<schemaSpec ident="TEI-TRANSCRstart="TEI">
 <moduleRef key="tei"/>
 <moduleRef key="core"/>
 <moduleRef key="textstructure"/>
 <moduleRef key="transcr"/>
</schemaSpec>

2 The TEI Header


2.3.9 The Schema Specification

<encodingDesc>
<!-- Other encoding description elements... -->
 <schemaSpec ident="myTEICustomization"
  docLang="enprefix="tei_xml:lang="en">

  <moduleRef key="core"/>
  <moduleRef key="tei"/>
  <moduleRef key="header"/>
  <moduleRef key="textstructure"/>
 </schemaSpec>
</encodingDesc>

7 Performance Texts


7.2.4 Stage Directions

<schemaSpec ident="myDrama">
 <moduleRef key="core"/>
 <moduleRef key="tei"/>
 <moduleRef key="structure"/>
 <moduleRef key="header"/>
 <moduleRef key="drama"/>
 <elementSpec ident="stagemode="change">
  <attList>
   <attDef ident="typemode="replace">
    <valList type="closed">
     <valItem ident="setting">
      <desc>describes the set</desc>
     </valItem>
     <valItem ident="blocking">
      <desc>describes movement across stage, position, etc.</desc>
     </valItem>
     <valItem ident="business">
      <desc>describes movement other than blocking</desc>
     </valItem>
     <valItem ident="delivery">
      <desc>describes how the line is said</desc>
     </valItem>
     <valItem ident="motivation">
      <desc>describes character's emotional state or through line</desc>
     </valItem>
    </valList>
   </attDef>
  </attList>
 </elementSpec>
</schemaSpec>

23 Using the TEI


23.3.1.1 Deletion of Elements

<schemaSpec ident="mySchema">
 <moduleRef key="core"/>
<!-- other modules used by this schema -->
 <elementSpec ident="notemodule="core"
  mode="delete"/>

</schemaSpec>

23.3.2 Modification and Namespaces

<schemaSpec ns="ident="noName">
 <moduleRef key="header"/>
<!-- ... -->
</schemaSpec>

23.5.3 Names and Documentation in Generated Schemas

<schemaSpec ident="testprefix="tei_">
 <elementSpec ident="sp">
<!--...-->
 </elementSpec>
</schemaSpec>