<?xml version="1.0" encoding="utf-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0"
	xml:lang="en" n="menota">
	<teiHeader>
		<fileDesc>
			<titleStmt>
				<title>The Menota TEI Extensions</title>
				<author>Tone Merete Bruvik</author>
			</titleStmt>
			<publicationStmt>
				<p>for Menota</p>
			</publicationStmt>
			<sourceDesc>
				<p>Derived from old DTD extension files for P4 by Sebastian Rahtz and Tone Merete Bruvik</p>
			</sourceDesc>
		</fileDesc>
		<revisionDesc>
		  <change><date>2010.06.25</date><name>TMB</name>: Added this attributes 'orig-msa' and 'orig-lemma' to the w-element. Removed also two validation errows that were in the definition of the attribute 'reason' in the textSpan-element and the attribute 'level' in the normalization-element.</change>
			<change><date>2009.03.06</date><name>TMB</name>: the model-classes model.hiLike and model.pPart.edit added to w, these classes are included in the orginal TEI P5 declaration, but
			was probably not part of it when we changes the w-element in the first polace.</change>
			<change><date>2009.02.05</date><name>Tone Merete Bruvik</name>: Updated according to TEI P5 1.3.0, the subtype in name is now ok in TEI P5 1.3.0 so my fix is removed.</change>
			<change><date>2008.05.06</date><name>Tone Merete Bruvik</name>: Removed some comment parts.</change>
			<change><date>2008.01.24</date><name>Tone Merete Bruvik</name>: Added choice to the content model of element 'c' (charater).</change>
			<change><date>2008.01.21</date><name>Tone Merete Bruvik</name>: Use 'ex' and 'am' instead of 'expan' and 'abbr'.</change>
			<change><date>2008.01.18</date><name>Tone Merete Bruvik</name>: Added attribute class'typed' to supplied, and added attribute 'reason' to textSpan .</change>
			<change><date>2008.01.07</date><name>Tone Merete Bruvik</name>: Added the ass and all lement which were removed for some unknown reasons.</change>
			<change><date>2007.12.27</date><name>Tone Merete Bruvik</name>: First draft of an Menota schema for TEI P5.0 ready, a namespace for Menota is introduced: 'http://www.menota.org/ns/1.0'.</change>
			<change><date>2007.11.13</date><name>Tone Merete Bruvik</name>: Starting on updating the Menota schema to TEI P5 1.0.</change>
			<change><date>2006.12.05</date><name>Tone Merete Bruvik</name>: Renamed the attribute 'pos' to
				'msa' (for morphosyntactical analysis), redefine sID and eID to have text as type (will
				probably have to be changed when we known more on how to implement CLIX), added the
				attributes 'lemmatized' and 'morphAnalyzed' to the element interpretation.</change>
			<change><date>2006.11.23</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: Added the attribute 'level' to the element normalization.</change>
			<change><date>2006.11.09</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: Added 'sID' and 'eID' attribute to implement HORSE encoding.</change>
			<change><date>2006.05.09</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: Added the declarefs (Feature system declarations) module.
				Removed lemma as en element, only the attribute version is now legal. </change>
			<change><date>2006.05.02</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: Change the memberOf class of textSpan to "model.pPart.edit",
				was wrongly set to "model.pPart.editIncl" which was likely a typo. </change>
			<change><date>2006.02.06</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: The class 'att.segLike' added to the elements 'dipl', norm',
				'facs', 'punct', 'expunged' and 'pal', to include the attributes 'type', 'function' and
				'part' which in TEI P5 0.3.1 was not included by default. </change>
			<change><date>2005.12.06</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: The class 'model.oddPhr' (that is the modul 'tagdocs') added
				to include elements that document encoding in the Menota schema. </change>
			<change><date>2005.12.06</date><name>Sebastian Rahtz</name><name type="affiliation"
				>Oxford</name>: Updated with the new class system of P5. </change>
			<change><date>2005.09.22</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: Updated with some new attributes suggested by Tarrin Wills,
				removed an other attribute. </change>
			<change><date>2005.06.20</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: Some minor changes added after the release of 2.0b dated June
				7, 2005. </change>
			<change><date>2005.06.07</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: Added the drama module from TEI P5, in order to include the
				'caption' element. </change>
			<change><date>2005.06.06</date><name>Sebastian Rahtz</name><name type="affiliation">Oxford
					University</name>: I found quite a few logical errors in your ODD extension. </change>
			<change><date>2005.06.06</date><name>Tone Merete Bruvik</name><name type="affiliation">Aksis,
					University of Bergen</name>: Updated with some changes for the MENOTA handbook 2.0 beta. </change>
			<change><date>2004.11.22-23</date><name>Tone Merete Bruvik</name><name type="affiliation"
					>Aksis, University of Bergen</name>: Added changes to reflect changes in Menota 2.0a. </change>
			<change><date>2004.10.24</date><name>Sebastian Rahtz</name><name type="affiliation">Oxford
					Computing Center, Oxford University</name>: First version for TEI P5, where the extention
				files are in RELAX NG syntax. </change>
		</revisionDesc>
	</teiHeader>
	<text>
		<body>
			<p>The Menota TEI schema consists some new elements and a view of the TEI. There are some new
				elements, some existing elements are redefined to be null.</p>
			<p>Menota ODD file for the TEI, where the TEI is to be generated by the TEI Roma at
				http://www.tei-c.org.uk/Roma/</p>
			<p>The TEI Roma settings: Upload this file as a existing customization, then choose DTD, Relax
				NG or W3C Schema.</p>
			<p>Made orginally for the research group Editing medieval manuscripts at Centre for Advanced
				Study, 2000-2001.</p>
			<p>Further changed and updated for the Menota project, see http://www.menota.org, by Tone
				Merete Bruvik, Aksis, see http://www.aksis.uib.no/, Norway, 2001-2004.</p>
			<p>Changes done by Tone Merete Bruvik are marked with TMB. Changes done by Odd Einar Haugen
				are marked with OEH</p>
			
			<schemaSpec start="TEI teiCorpus" ident="menotaP5" ns="http://www.tei-c.org/ns/1.0" >
					<moduleRef key="analysis"/>
					<moduleRef key="core"/>
					<moduleRef key="corpus"/>
					<moduleRef key="drama"/>
					<moduleRef key="figures"/>
					<moduleRef key="header"/>
					<moduleRef key="linking"/>
					<moduleRef key="msdescription"/>
					<moduleRef key="namesdates"/>
					<moduleRef key="tagdocs"/>
					<moduleRef key="tei"/>
					<moduleRef key="textcrit"/>
					<moduleRef key="textstructure"/>
					<moduleRef key="transcr"/>
					<moduleRef key="verse"/>
					
				
				<classSpec type="model" ident="model.menota" >
					<desc>groups elements used for the menotic structures for dipl, facs, norm etc. </desc>
					<classes>
						<memberOf key="model.choicePart"/>
					</classes>
					<remarks>
						<p>This class is made to make the definition amd maintendence of the Menota schema easier.</p>
					</remarks>
				</classSpec>
					
					<elementSpec ident="dipl" mode="add" ns="http://www.menota.org/ns/1.0">
						<desc>2007.11.13 TMB: Repleace the definition with the definition for 'orig' as it is now in P5.</desc>
						<desc>2006.02.06 TMB: The element is member of the class 'att.segLike'</desc>
						<desc>2004.04.28 TMB: Using 'a.seg' to include the attributes 'type', 'function' and
							'part', thus the attributes in a.metrical will also be included, although these are
							probably not used in Menota texts.</desc>
						<desc>2004.04.15 TMB: added comments: the element is based on the element 'orig' in TEI,
							but with some changes: 'note' and 'm.fragmentary' are added to the content model, and
							'function', 'part' and 'type' are added as attributes. The attributes 'reg' and 'resp'
							correspond to the same attributes in the orig-element i TEI: 'reg' (regularization):
							gives a regularized (normalized) form of the text. 'resp' (responsibility): identifies
							the individual responsible for the regularization of the word or phrase. The
							attributes 'function', 'part' and 'type' are like the same attributes in the a.seg i
							TEI: 'type': characterizes the type of segment. 'function': characterizes the function
							of the segment. 'part': specifies whether or not the segment is fragmented by some
							other structural element, for example a clause which is divided between two or more
							sentences.</desc>
						<desc>2003.05.14 OEH: changed name of element 'expForm' to 'dipl'. Also changed the
							content model for this element as parameter entity 'phrase' is used instead of
							previous content model to ensure conformity between the 'facs', 'dipl' and 'norm'
							elements. </desc>
						<desc>2002.05.02 TMB: changed from expform to expForm. </desc>
						<desc>2001.05.21 TMB: note and supplied added to the content model of expform. </desc>
						<desc>2001.04.24 ESO: element expform added to the dtd.</desc>
						<classes>
							<memberOf key="model.menota"/>
							<memberOf key="att.transcriptional"/>
							<memberOf key="att.typed"/>
							<memberOf key="att.global"/>
							
						</classes>
						<content>
							<!--<rng:ref name="macro.paraContent"/>-->
							<rng:zeroOrMore>
								<rng:choice>
									<rng:text/>
									<rng:ref name="model.gLike"/>
									<rng:ref name="model.segLike"/>
									<rng:ref name="model.global"/>
									<rng:ref name="model.lPart"/>
									<rng:ref name="model.hiLike"/>
									<rng:ref name="model.pPart.edit"/>
								</rng:choice>
							</rng:zeroOrMore>
						</content>
						
					</elementSpec>
					
					<elementSpec ident="facs" mode="add" ns="http://www.menota.org/ns/1.0">
						<desc>2007.11.13 TMB: Using the 'orig' declaration from P5 as the model.</desc>
						<desc>2006.02.06 TMB: The element is member of the class 'att.segLike'</desc>
						<desc>2004.04.28 TMB: Using 'a.seg' to include the attributes 'type', 'function' and
							'part', thus the attributes in a.metrical will also be included, although these are
							probably not used in Menota texts. </desc>
						<desc>2004.04.15 TMB: added comments: the element is based on the element 'orig' in TEI,
							but with some changes: 'note' and 'm.fragmentary' are added to the content model, and
							'function', 'part' and 'type' are added as attributes. The attributes 'reg' and 'resp'
							are like the same attributes in the orig-element i TEI: 'reg' (regularization): gives
							a regularized (normalized) form of the text. 'resp' (responsibility): identifies the
							individual responsible for the regularization of the word or phrase. The attributes
							'function', 'part' and 'type' correspond to the same attributes in the a.seg i TEI:
							'type': characterizes the type of segment. 'function': characterizes the function of
							the segment. 'part': specifies whether or not the segment is fragmented by some other
							structural element, for example a clause which is divided between two or more
							sentences. </desc>
						<desc>2003.05.14 OEH: element 'orig' renamed to 'facs' parameter entity 'phrase' used
							instead of previous content model to ensure conformity between the 'facs', 'dipl' and
							'norm' elements. </desc>
						<desc>2002.03.22 TMB: 'note' added to the content model.</desc>
						<classes>
							<memberOf key="model.menota"/>
							<memberOf key="att.transcriptional"/>
							<memberOf key="att.typed"/>
							<memberOf key="att.global"/>
							
						</classes>
						<content>
							<rng:zeroOrMore>
								<rng:choice>
									<rng:text/>
									<rng:ref name="model.gLike"/>
									<rng:ref name="model.segLike"/>
									<rng:ref name="model.global"/>
									<rng:ref name="model.lPart"/>
									<rng:ref name="model.hiLike"/>
									<rng:ref name="model.pPart.edit"/>
								</rng:choice>
							</rng:zeroOrMore>
						</content>
						
					</elementSpec>
					<elementSpec ident="norm" mode="add" ns="http://www.menota.org/ns/1.0">
						<desc>2007.11.13 TMB: Using the 'orig' declaration from P5 as the model.</desc>
						<desc>2006.02.06 TMB: The element is member of the class 'att.segLike'</desc>
						<desc>2004.04.29 TMB: The attribute 'orig' to replace 'reg', which was wrongly used
							here. </desc>
						<desc>2004.04.28 TMB: Using 'a.seg' to include the attributes 'type', 'function' and
							'part', thus the attributes in a.metrical will also be included, although these are
							probably not used in Menota texts. </desc>
						<desc>2004.04.15 TMB: added comments: the element is based on the element 'reg' in TEI,
							but with some changes: 'note' and 'm.fragmentary' are added to the content model, and
							'function', 'part' and 'type' are added as attributes. The attributes 'orig' and
							'resp' correspond to the same attributes in the reg-element i TEI: 'orig' (original)
							gives the unregularized form of the text as found in the source copy. 'resp'
							(responsibility) identifies the individual responsible for the regularization of the
							word or phrase. The attributes 'function', 'part' and 'type' are like the same
							attributes in the a.seg i TEI: 'type': characterizes the type of segment. 'function':
							characterizes the function of the segment. 'part': specifies whether or not the
							segment is fragmented by some other structural element, for example a clause which is
							divided between two or more sentences. </desc>
						<desc>2003.05.14 OEH: element 'reg' renamed to 'norm', parameter entity 'phrase' used
							instead of previous content model to ensure conformity between the 'facs', 'dipl' and
							'norm' elements. </desc>
						<desc>2002.03.22 TMB: 'note' added to the content.</desc>
						<classes>
							<memberOf key="model.menota"/>
							<memberOf key="att.transcriptional"/>
							<memberOf key="att.typed"/>
							<memberOf key="att.global"/>
						</classes>
						<content>
							<rng:zeroOrMore>
								<rng:choice>
									<rng:text/>
									<rng:ref name="model.gLike"/>
									<rng:ref name="model.segLike"/>
									<rng:ref name="model.global"/>
									<rng:ref name="model.lPart"/>
									<rng:ref name="model.hiLike"/>
									<rng:ref name="model.pPart.edit"/>
								</rng:choice>
							</rng:zeroOrMore>
						</content>
					</elementSpec>

				<elementSpec ident="expunged" mode="add" ns="http://www.menota.org/ns/1.0">
					<desc>2007.11.13 TMB: Using the 'del' declaration from P5 as the model.</desc>
					<desc>2006.02.06 TMB: The element is member of the class 'att.segLike'</desc>
					<desc>2005.06.07 tmb: Changed to content model to be as 'facs', in order to include
						encoding as well as text</desc>
					<desc>New ELEMENT expunged. Made with the element 'del' as model, contains a letter,
						word or passage expunged, marked as expunged, or otherwise indicated as superfluous or
						spurious in the copy text by the transcriber or editor. Added by TMB, 2004.06.24</desc>
					<classes>
						<!--<memberOf key="model.menota"/>-->
						<memberOf key="att.transcriptional"/>
						<!--<memberOf key="att.editLike"/>-->
						<memberOf key="att.typed"/>
						<memberOf key="att.global"/>
						<memberOf key="model.pPart.transcriptional"/>
						<!--<memberOf key="model.segLike"/>
							<memberOf key="att.segLike"/>-->
					</classes>
					<content>
						<rng:zeroOrMore>
							<rng:choice>
								<rng:text/>
								<rng:ref name="model.gLike"/>
								<rng:ref name="model.segLike"/>
								<rng:ref name="model.global"/>
								<rng:ref name="model.lPart"/>
								<rng:ref name="model.hiLike"/>
								<rng:ref name="model.pPart.edit"/>
							</rng:choice>
						</rng:zeroOrMore>
					</content>
					
				</elementSpec>
				<elementSpec ident="pal" mode="add" ns="http://www.menota.org/ns/1.0">
						<desc>2006.02.06 TMB: The element is member of the class 'att.segLike'</desc>
						<desc>2004.06.28 TMB: new element defined. The element is based on the element 'facs',
							but used to encode the paleographic level of the text.</desc>
						<classes>
							<memberOf key="model.menota"/>
							<memberOf key="att.transcriptional"/>
							<memberOf key="att.typed"/>
							<memberOf key="att.global"/>
						</classes>
						<content>
							<rng:zeroOrMore>
								<rng:choice>
									<rng:text/>
									<rng:ref name="model.gLike"/>
									<rng:ref name="model.segLike"/>
									<rng:ref name="model.global"/>
									<rng:ref name="model.lPart"/>
									<rng:ref name="model.hiLike"/>
									<rng:ref name="model.pPart.edit"/>
								</rng:choice>
							</rng:zeroOrMore>
						</content>
						
					</elementSpec>
					<elementSpec ident="punct" mode="add" ns="http://www.menota.org/ns/1.0">
						<desc>2007.12.28 TMB: Redefined it, to be more like 'w'.</desc>
						<desc>2006.12.05 TMB: Renamed the attribute 'pos' to 'msa'.</desc>
						<desc>2006.02.06 TMB: The element is member of the class 'att.segLike'</desc>
						<desc>New ELEMENT punct (punctuation) Made with the element 'w' (word) as model, to
							encode punctuation, especially in cases when punctuation is added at the normalised
							level. Added by tmb, 2004.06.24</desc>
						<classes>
							<memberOf key="model.segLike"/>
							<memberOf key="att.transcriptional"/>
							<memberOf key="att.typed"/>
							<memberOf key="att.global"/>
						</classes>
						<content>
							<rng:zeroOrMore>
								<rng:choice>
									<rng:text/>
									<rng:ref name="model.gLike"/>
									<rng:ref name="model.segLike"/>
									<rng:ref name="model.global"/>
									<rng:ref name="model.menota"/>
									<rng:ref name="choice"/>
								</rng:choice>
							</rng:zeroOrMore>
						</content>
					</elementSpec>
					
					<elementSpec ident="textSpan" mode="add" ns="http://www.menota.org/ns/1.0">
						<desc>2005.06.20 TMB: the attribute value 'damage' added for the attribute
						'category'</desc>
						<desc>2004.06.28 TMB: new element defined. The element is based on the element TEI
							'addSpan' with an extra attribute 'category', and to encode a generic span of text
							that might be added, deleted etc. This element is a milestone. The element is made to
							avoid to make a series of 'delSpan', 'suppliedSpan', etc.</desc>
						<classes>
							<memberOf key="model.global.edit"/>
							<memberOf key="att.spanning"/>
							<memberOf key="att.transcriptional"/>
							<memberOf key="att.typed"/>
							<memberOf key="att.global"/>
						</classes>
						<content>
							<rng:empty/>
						</content>
						<attList>
							
							<attDef ident="category" usage="opt">
								<datatype>
									<rng:text/>
								</datatype>
								<valList type="open">
									<valItem ident="add"/>
									<valItem ident="corr"/>
									<valItem ident="del"/>
									<valItem ident="damage"/>
									<valItem ident="expunged"/>
									<valItem ident="gap"/>
									<valItem ident="seg"/>
									<valItem ident="sic"/>
									<valItem ident="supplied"/>
									<valItem ident="unclear"/>
									<valItem ident="other"/>
								</valList>
								
							</attDef>
							
							<attDef ident="reason" usage="opt">
								<desc>Indicates the individual responsible for supplying the letter, word or passage contained within the supplied element, or indicates the individual responsible for the transcription of the word, phrase, or passage contained with the unclear element. Same use as in the elements 'unclear' and 'supplied'.</desc>
								<!-- 2008.01.18 tmb: Readded this attribute. -->
							  <datatype>
							    <rng:list>
							    <rng:oneOrMore>
							      <rng:ref name="data.word"/>
							    </rng:oneOrMore>
							    </rng:list>
							  </datatype>
							</attDef>
						</attList>
					</elementSpec>
				
				<elementSpec ident="all" mode="add" ns="http://www.menota.org/ns/1.0">
					<desc>2008.01.07 TMB: Added a new element to encode the alliteration of a line.</desc>
					<classes>
						<memberOf key="model.segLike"/>
						<memberOf key="att.global"/>
						<memberOf key="att.segLike"/>
					</classes>
					<content>
						<rng:ref name="macro.paraContent"/>
					</content>
				</elementSpec>
				
				<elementSpec ident="ass" mode="add" ns="http://www.menota.org/ns/1.0">
					<desc>2008.01.07 TMB: Added a new element to encode the internal rhymes of a line, where relevant.</desc>
					<classes>
						<memberOf key="model.segLike"/>
						<memberOf key="att.global"/>
						<memberOf key="att.segLike"/>
					</classes>
					<content>
						<rng:ref name="macro.paraContent"/>
					</content>
				</elementSpec>
				
				
					<elementSpec ident="w" module="analysis" mode="change">
					  <desc><date>2010.06.25</date><name>TMB</name>: Added this attributes 'orig-msa' and 'orig-lemma' to the w-element. </desc>
					  <desc>2009.03.06 TMB: the model-classes model.hiLike and model.pPart.edit added, these classes are included in the orginal TEI P5 declaration, but
							was probably not part of it when we changes the w-element in the first polace.</desc>
						<desc>2008.01.10 TMB: the attribute 'lemme' can contains more that one word.</desc>
						<desc>2006.12.05 TMB: Renamed the attribute 'pos' to 'msa'.</desc>
						<desc>2006.05.11 TMB: 'lemma' removed from content list. </desc>
						<desc>2004.06.28 TMB: new element 'pal' added to the content model, TEI elements 'lemma'
							and 'pos' added as well. </desc>
						<desc>2004.04.28 TMB: Attribute 'reg' (regularization) reentered: gives a regularized
							(normalized) form of the text. Used in samples in the Menota Handbook, ch. 7. </desc>
						<desc>2003.05.14 OEH: new elements 'facs', 'dipl' and 'norm' (previous 'orig', 'expForm'
							and 'reg') added to content model. Additional elements 'hi', 'sic' and 'foreign' added
							to content model </desc>
						<desc>2002.03.15 TMB: 'lacunaEnd', 'lacunaStart', 'witEnd' and 'witStart' added to the
							content model of 'w' </desc>
						<desc>2001.06.08 OEH and KGJ: 'add', 'del', 'unclear' and 'supplied' added to the
							content model of 'w' </desc>
						<desc>2001.04.24 ESO: 'orig', 'reg' and 'expform' added to the content model of 'w' </desc>
						<desc>2001.04.24 ESO: (recursive) w-element removed from the content model. PS!
						(2004.04.28 TMB: We might allow recursive 'w' again in the future).</desc>
						<content>
							<rng:zeroOrMore>
								<rng:choice>
									<rng:text/>
									<rng:ref name="model.gLike"/>
									<rng:ref name="model.segLike"/>
									<rng:ref name="model.global"/>
									<rng:ref name="model.lPart"/>
									<rng:ref name="model.hiLike"/>
									<rng:ref name="model.pPart.edit"/>
									<rng:ref name="model.menota"/>
									<!--<rng:ref name="choice"/>-->
								</rng:choice>
							</rng:zeroOrMore>
						</content>
					  <attList>
					    <attDef ident="msa" usage="opt" mode="add" ns="http://www.menota.org/ns/1.0">
					      <desc>states the grammatical (morphosyntactial) form of the word.</desc>
					      <datatype>
					        <rng:text/>
					      </datatype>
					    </attDef>
					    <attDef ident="orig-msa" usage="opt" mode="add" ns="http://www.menota.org/ns/1.0">
					      <desc>states the original grammatical (morphosyntactial) form of the word.</desc>
					      <datatype>
					        <rng:text/>
					      </datatype>
					    </attDef>
					    <!--<attDef ident="lemma" usage="opt" mode="change">
					      <datatype>
					        <rng:text/>
					      </datatype>
					    </attDef>-->
					    <attDef ident="orig-lemma" usage="opt" mode="add" ns="http://www.menota.org/ns/1.0">
					      <desc>provides a original lemma for the word, such as an uninflected dictionary entry form. </desc>
					      <datatype>
					        <rng:text/>
					      </datatype>
					    </attDef>
					  </attList>
						
					</elementSpec>
					
					<elementSpec ident="c" module="analysis" mode="change">
						<desc>2008.01.24 TMB: Adding to possibility to have choice as a content of the character element. This is to cover the rare 
							cases where a single character is encoded almost as a word. This is the case in AM242fol (the four grammatical treatises). It if not possible to have dipl, norm etc. cirrectly inside the c-element (as it is in 'm' and 'w').</desc>
						<content>
							<rng:zeroOrMore>
								<rng:choice>
									<rng:text/>
									<rng:ref name="model.gLike"/>
									<rng:ref name="choice"/>
								</rng:choice>
							</rng:zeroOrMore>
						</content>
					</elementSpec>
				
				<elementSpec ident="m" module="analysis" mode="change">
					<desc>represents a grammatical morpheme.</desc>
					<content>
						<rng:zeroOrMore>
							<rng:choice>
								<rng:text/>
								<rng:ref name="model.gLike"/>
								<rng:ref name="model.segLike"/>
								<rng:ref name="model.global"/>
								<rng:ref name="model.menota"/>
								<rng:ref name="choice"/>
							</rng:choice>
						</rng:zeroOrMore>
					</content>
				</elementSpec>
				
				<elementSpec ident="ex" module="transcr" mode="change">
					<desc>2008.01.24 TMB: Adding model.milestoneLike to the content of ex, to allow for instance <tag>lb</tag> inside <tag>ex</tag>, which is
					someting needed if there for intance is a linebreak in an expantion in an edition of the text which one like to encode the linebreaks of. There are cases of this use in 'HolmPerg6fol'.</desc>
					<classes mode="change">
						<memberOf key="att.typed"/>
					</classes>
					<content>
						<rng:zeroOrMore>
							<rng:choice>
								<rng:text/>
								<rng:ref name="model.gLike"/>
								<rng:ref name="model.milestoneLike"/>
							</rng:choice>
						</rng:zeroOrMore>
					</content>
				</elementSpec>

					<elementSpec ident="lg" module="core" mode="change">
						<desc>2004.11.23 TMB: Menota add 'p' to the content motel.</desc>
						<desc>Contains a group of verse lines functioning as a formal unit, e.g. a stanza,
							refrain, verse paragraph, etc. </desc>
						<content>
							<rng:group>
								<rng:zeroOrMore>
									<rng:choice>
										<rng:ref name="model.divTop"/>
										<rng:ref name="model.global"/>
									</rng:choice>
								</rng:zeroOrMore>
								<rng:choice>
									<rng:ref name="model.lLike"/>
									<rng:ref name="lg"/>
									<!--<rng:ref name="p"/>-->
								</rng:choice>
								<rng:zeroOrMore>
									<rng:choice>
										<rng:ref name="model.lLike"/>
										<rng:ref name="lg"/>
										<rng:ref name="model.global"/>
										<!--<rng:ref name="p"/>-->
									</rng:choice>
								</rng:zeroOrMore>
								<rng:zeroOrMore>
									<rng:group>
										<rng:ref name="model.divBottom"/>
									</rng:group>
									<rng:zeroOrMore>
										<rng:ref name="model.global"/>
									</rng:zeroOrMore>
								</rng:zeroOrMore>
							</rng:group>
						</content>
					</elementSpec>
				
				
				<!-- 2008.05.05 tmb: Change p to include lg. COMMENTED OUT AGAIN, WE MIGHT DO THIS AN OTHER WAY.-->
					<!--<elementSpec ident="p" module="core" mode="change">
						<desc>In Menota, lg (lineroup) might be included in a p (paragraph), and visa versa.</desc>
						<content>
							<rng:zeroOrMore>
								<rng:choice>
									<rng:text/>
									<rng:ref name="lg"/>
									<rng:ref name="model.gLike"/>
									<rng:ref name="model.phrase"/>
									<rng:ref name="model.inter"/>
									<rng:ref name="model.global"/>
									
								</rng:choice>
							</rng:zeroOrMore>
						</content>
					</elementSpec>-->
					
				<elementSpec ident="am" module="transcr" mode="change">
					<desc>2008.01.21 TMB: Adding the attributeclass 'typed' here to include 'type' and 'subtype'. </desc>
					<classes mode="change">
						<memberOf key="att.typed"/>
					</classes>
				</elementSpec>
				
					<elementSpec ident="normalization" module="header" mode="change">
						<attList>
							<attDef ident="level" mode="add" usage="req" ns="http://www.menota.org/ns/1.0">
								<desc>Specify which levels the text is encoded at. A text might include all the
									possible levels, or any combination of them. </desc>
								<datatype>
									<rng:ref name="data.words"/>
								</datatype>
							  <!--<default/>--> 
								<valList type="open"/>
							</attDef>
						</attList>
					</elementSpec>
					<elementSpec ident="interpretation" module="header" mode="change">
						<attList>
							<attDef ident="lemmatized" mode="add" usage="req" ns="http://www.menota.org/ns/1.0">
								<desc>Specify to what extent the text is lemmatized. </desc>
								<datatype>
									<rng:ref name="data.words"/>
								</datatype>
								<!--<default/>-->
								<valList type="closed">
									<valItem ident="completely"/>
									<valItem ident="partly"/>
									<valItem ident="none"/>
								</valList>
							</attDef>
							<attDef ident="morphAnalyzed" mode="add" usage="req" ns="http://www.menota.org/ns/1.0">
								<desc>Specify to what extent the text is morphologically analyzed. </desc>
							  <datatype>
							    <rng:ref name="data.words"/>
								</datatype>
								
								<valList type="closed">
									<valItem ident="completely"/>
									<valItem ident="partly"/>
									<valItem ident="none"/>
								</valList>
							</attDef>
						</attList>
					</elementSpec>
					<!--<elementSpec ident="name" module="core" mode="change">
						<desc>2007.12.11 TMB: In TEI P5 is there an error in the definition of name, 
							the att.typed should be a class used here, to include 'subtype' as an attribute. </desc>
						
						<attList>
							<attDef ident="subtype" mode="add" usage="opt">
								<desc>Subtype, should actually be part of name, but there is an error is TEI P5 1.0</desc>
								<datatype>
									<rng:ref name="data.enumerated"/>
								</datatype>
							</attDef>
						</attList>
					</elementSpec>-->
				<elementSpec ident="supplied" module="transcr" mode="change">
					<desc>2008.01.18 TMB: Adding the attributeclass 'typed' here to include 'type' and 'subtype'. </desc>
					<classes mode="change">
						<memberOf key="att.typed"/>
						</classes>
				</elementSpec>
				</schemaSpec>
		</body>
	</text>
</TEI>
