<?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>2019-12-09</date><name>Øyvind Liland Gjesdal</name>: Allow space element in c-element. </change>
			<change><date>2019-12-09</date><name>Øyvind Liland Gjesdal</name>: Change category attribute to `me:` namespace.</change>
			<change><date>2017-12-11</date><name>Øyvind Liland Gjesdal</name>: Added a classRef (attributes)
				with me:key and me:ref to use for elements. Added list of elements.</change>
			<change><date>2017.05.02</date><name>Odd Einar Haugen</name>: Added comments on the use
				of the 'pc', 'punct', 'expunged' and 'suppressed' elements</change>
			<change><date>2017.04.28</date><name>Øyvind Liland Gjesdal</name>: Edited tei:pc element
				in Roma web interface to also add/allow same content as me:punct. Copied (in Oxygen)
				expunged definition and named it 'suppressed'. Also added pointer to 'suppressed' in
				open valList.</change>
			<change><date>2017.04.27</date><name>Øyvind Liland Gjesdal</name>: Added exception to
				schemaSpec to handle TEI elements with &lt;anyName&gt; attributes.</change>
			<change><date>2012.02.09</date><name>Eszter Horvati</name>: Added attribute 'place' to
				textSpan element. Also added redefinition of macro.anyXML.</change>
			<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"
				defaultExceptions="http://www.tei-c.org/ns/1.0 teix:egXML http://www.menota.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"/>
				<macroSpec ident="macro.anyXML" mode="change">
					<content>
						<element xmlns="http://relaxng.org/ns/structure/1.0">
							<anyName>
								<except>
									<nsName ns="http://www.tei-c.org/ns/1.0"/>
									<nsName ns="http://www.menota.org/ns/1.0"/>
									<name ns="http://www.tei-c.org/ns/Examples">egXML</name>
								</except>
							</anyName>
							<zeroOrMore>
								<attribute>
									<anyName/>
								</attribute>
							</zeroOrMore>
							<zeroOrMore>
								<choice>
									<text/>
									<ref name="macro.anyXML"/>
								</choice>
							</zeroOrMore>
						</element>
					</content>
				</macroSpec>
				<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>
				<classSpec type="atts" ident="att.menota">
					<desc>Class for grouping common attributes used in Menota.</desc>
					<attList>
						<attDef ident="key" usage="opt" mode="add" ns="http://www.menota.org/ns/1.0">
							<desc>2017.12.11 Odd Einar Haugen: This attribute is used for linking to 
								another resource which describes the thing(s) the element references 
								(e.g. person, text, place, word, etc.), in the form of a database key 
								or similar, used as an attribute to a number of elements</desc>
							<datatype>
								<rng:text/>
							</datatype>
						</attDef>
						<attDef ident="ref" usage="opt" mode="add" ns="http://www.menota.org/ns/1.0">
							<desc>2017.12.11 Odd Einar Haugen: This attribute is used for linking to 
								an external resource which describes the thing(s) the element references 
								(e.g. person, text, place, word, etc.), in the form of one or more URIs 
								or similar identifiers</desc>
							<datatype>								
								<rng:text/>
							</datatype>
						</attDef>
					</attList>
				</classSpec>
				
				<!-- elementspec menota-->
				<elementSpec ident="dipl" mode="add" ns="http://www.menota.org/ns/1.0">
					<desc>2007.11.13 TMB: Replaced 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>2017.05.02 Odd Einar Haugen: Hereafter, the new element 'suppressed'
						should be used rather than the present 'expunged', since the connotations of
						the latter is somewhat misleading. The element 'suppressed' is the opposite
						(or antonym) of the element 'supplied', like 'del' is the opposite of
						'add'.</desc>
					<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="suppressed" mode="add" ns="http://www.menota.org/ns/1.0">
					<desc>2017.05.02 Odd Einar Haugen: The new element 'suppressed' contains a
						letter, word or passage which the transcriber or editor believes should be
						suppressed in the transcription or edition. It is thus the antonym to the
						element 'supplied', and should be used with the same degree of caution. It
						is dentical to the element 'expunged', which is intended to be
						deprecated.</desc>
					<desc>2017.04.28 OLG: Using the 'expunged' declaration from Menota as the
						model.</desc>
					<classes>
						<memberOf key="att.transcriptional"/>
						<memberOf key="att.typed"/>
						<memberOf key="att.global"/>
						<memberOf key="model.pPart.transcriptional"/>
					</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>2017.05.02 Odd Einar Haugen: In general, the standard TEI element 'pc'
						should be used for punctuation between words rather than the 'punct'
						element. For this reason, the 'pc' element now can contain 'choice', 'pal',
						'facs', 'dipl' and 'norm' elements.</desc>
					<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"/>
						<memberOf key="att.menota"/>
					</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" ns="http://www.menota.org/ns/1.0">
							<datatype>
								<rng:text/>
							</datatype>
							<valList type="open">
								<valItem ident="add"/>
								<valItem ident="corr"/>
								<valItem ident="del"/>
								<valItem ident="damage"/>
								<valItem ident="expunged"/>
								<valItem ident="suppressed"/>
								<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>
						<attDef ident="place" mode="add">
							<desc>Indicates the placement on the page.</desc>
						</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>
				<!-- module analysis-->
				<elementSpec ident="w" module="analysis" mode="change">
					<desc>2017-12-11: <name>OLG</name> added class att.menota</desc>
					<desc><date>2010.06.25</date><name>TMB</name>: Added the 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 were
						probably not part of it when we changed the w-element in the first
						place.</desc>
					<desc>2008.01.10 TMB: the attribute 'lemme' can contain more than 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>
					<classes mode="change">
						<memberOf key="att.menota"/>
					</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: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. correctly
						inside the c-element (as it is in 'm' and 'w').</desc>
					<content>						
							<alternate minOccurs="0" maxOccurs="unbounded">
								<textNode/>
								<classRef key="model.gLike"/>								
								<elementRef key="choice"/>						
								<elementRef key="space"/>								
							</alternate>
						<!--<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="pc" module="analysis" mode="change">
					<content>
						<alternate minOccurs="0" maxOccurs="unbounded">
							<textNode/>
							<classRef key="model.gLike"/>
							<classRef key="model.segLike"/>
							<classRef key="model.global"/>
							<elementRef key="choice"/>
							<classRef key="model.menota"/>							
							<elementRef key="c"/>
							<classRef key="model.pPart.edit"/>
						</alternate>
					</content>
				</elementSpec>
				<elementSpec ident="s"  module="analysis" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>
				</elementSpec>	
								
				<!-- module core-->
				<elementSpec ident="add" module="core" mode="change">
					<content>
						<alternate minOccurs="0" maxOccurs="unbounded">
							<elementRef key="head"/>
							<macroRef key="macro.paraContent"/>
						</alternate>
					</content>
				</elementSpec>				
				<elementSpec ident="cb" module="core" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="cit" module="core" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>								
				<elementSpec ident="head" module="core" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="l" module="core" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>				
				<elementSpec ident="lb" module="core" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="lg" module="core" mode="change">
					<desc>2004.11.23 TMB: Menota adds 'p' to the content model.</desc>
					<desc>Contains a group of verse lines functioning as a formal unit, e.g. a
						stanza, refrain, verse paragraph, etc. </desc>
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
					<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>
				<elementSpec ident="meeting" module="core" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="p" module="core" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="pb" module="core" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>		
				
				<!-- module corpus-->
				<elementSpec ident="settingDesc" module="corpus" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>
				</elementSpec>				
				<!--module header-->
				<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="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>
					<!-- module linking-->
				<elementSpec ident="seg" module="linking" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>
				</elementSpec>	
				<!--module msdescription-->
				<elementSpec ident="msDesc" module="msdescription" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="msIdentifier" module="msdescription" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>				
				<elementSpec ident="msName" module="msdescription" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
					
				<!-- module names and dates-->
				<elementSpec ident="org" module="namesdates" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>					
				</elementSpec>
				<elementSpec ident="person" module="namesdates" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>					
				</elementSpec>
				<elementSpec ident="personGrp" module="namesdates" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>					
				</elementSpec>
				<elementSpec ident="persName" module="namesdates" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="place" module="namesdates" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>		
			
				<!-- module tei-->
				<elementSpec ident="bibl" module="tei" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				
				<!--module textstructure-->								
				<elementSpec ident="back" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="body" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>			
				<elementSpec ident="div" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="div1" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="div2" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="div3" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="div4" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="div5" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="div6" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="div7" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>					
				<elementSpec ident="docAuthor" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="front" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<elementSpec ident="text" module="textstructure" mode="change">
					<classes mode="change">
						<memberOf key="att.menota"/>
					</classes>		
				</elementSpec>
				<!--module transcribe-->
				<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="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 expansion 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="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>
