<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright TEI Consortium.
    Dual-licensed under CC-by and BSD2 licences
    See the file COPYING.txt for details
    $Date: 2012-07-15 00:41:31 +0100 (Sun, 15 Jul 2012) $
    $Id: sourceDoc.xml 10657 2012-07-14 23:41:31Z martindholmes $
-->
<elementSpec ident="sourceDoc"  module="transcr"
  xmlns:rng="http://relaxng.org/ns/structure/1.0"
  xmlns="http://www.tei-c.org/ns/1.0">
 <desc> contains a transcription or other representation of a single
 source document potentially forming part of a <foreign>dossier
 génétique</foreign> or collection of sources.</desc>
<classes>    
  <memberOf key="att.global"/>
  <memberOf key="model.resourceLike"/>
  <memberOf key="att.declaring"/>
</classes>
<content xmlns:rng="http://relaxng.org/ns/structure/1.0">
    <rng:group>
<!--      <rng:optional>
        <rng:ref name="facsimile"/>
      </rng:optional>-->
      <rng:oneOrMore>
        <rng:choice>
          <rng:ref name="model.global"/>
          <rng:ref name="model.graphicLike"/>
          <rng:ref name="surface"/>
          <rng:ref name="surfaceGrp"/>
        </rng:choice>
      </rng:oneOrMore>
    </rng:group>
  </content>
  <exemplum xml:lang="und">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <sourceDoc>
<surfaceGrp n="leaf1">
	<surface facs="page1.png">
	  <zone>All the writing on  page 1</zone>
	  </surface>
        <surface>
          <graphic url="page2-highRes.png"/>
          <graphic url="page2-lowRes.png"/>
	  <zone><line>A line of writing on page 2</line>
	  <line>Another line of writing on page 2</line>
	  </zone>
        </surface>
</surfaceGrp>      </sourceDoc>
    </egXML>
  </exemplum>
<remarks><p>This element may be used as an alternative to
<gi>facsimile</gi> for TEI documents containing only page images, or
for documents containing both images and
transcriptions. Transcriptions may be provided within the
<gi>surface</gi> elements making up a source document, in parallel
with them as part of a <gi>text</gi> element, or in both places if
the encoder wishes to distinguish these two modes of transcription.</p>
</remarks>
</elementSpec>
