[osis-core] OSISCore_1.test6 osisCorpus/osisText/Header

Patrick Durusau osis-core@bibletechnologieswg.org
Thu, 23 May 2002 23:59:19 -0400


--------------020104050808000304010405
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Chris,

Good call, although I like the alternative solution better. Probably 
because I see a corpus as needing a common header and yet allowing 
individual headers for the various texts. With your second solution, we 
know the location of a header, corpus or single text and that seems like 
a good thing to me. Done and done.

Patrick

Chris Little wrote:

>Looking at the current content model, I really like the addition of
>osisCorpus, but I think it raises possible issues with the header
>element.
>
>I believe a majority of instances where osisCorpus would be used, it
>would make sense to have a header element that applies to the whole
>document (osisCorpus) rather than the component osisTexts.  I would
>recommend that we add Header as a required element of osisCorpus.
>
>An alternate solution would be to make Header a required element of osis
>and only optional in osisText (and not at all part of osisCorpus.  The
>osisText's Header element would be used only when the osisText is a
>child of an osisCorpus.
>
>--Chris
>
>
>------------------------------------------------------------------------
>
><?xml version="1.0" encoding="UTF-8"?>
>
><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
>	elementFormDefault="unqualified">
>
>
>
>
>
><!-- note that I have added a higher level root element so we can have collections of independent texts for a collection -->
>
>
>
><xs:element name="osis">
>
>	    <xs:complexType>
>
>		<xs:choice>
>
>			<xs:element ref="osisCorpus"/>
>
>			<xs:element ref="osisText"/>
>
>		</xs:choice>
>
>	    </xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="osisCorpus">
>
>	    <xs:complexType>
>
>		<xs:sequence minOccurs="1" maxOccurs="unbounded">
>
>			<xs:element ref="osisText"/>
>
>		</xs:sequence>
>
>	    </xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="osisText">
>
>	<xs:complexType>
>
>		<xs:sequence>
>
>			<xs:element ref="header" minOccurs="1" maxOccurs="1"/>
>
>			<xs:element ref="front" minOccurs="0" maxOccurs="1"/>
>
>			<xs:element ref="body" minOccurs="1" maxOccurs="1"/>
>
>			<xs:element ref="back" minOccurs="0" maxOccurs="1"/>
>
>		</xs:sequence>
>
>			<xs:attribute name="work" type="osisRef" use="optional"/>
>
>			<xs:attribute name="refSys" type="osisRef" use="optional"/>
>
>			<xs:attributeGroup ref="globalAttributes"/>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="header">
>
>	<xs:complexType>
>
>		<xs:sequence>
>
>			<xs:element ref="title" minOccurs="0"/>
>
>			<xs:element ref="contributor" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="creator" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="subject" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="description" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="publisher" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="type" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="format" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="identifier" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="source" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="language" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="relation" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="coverage" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="rights" minOccurs="0" maxOccurs="unbounded"/>
>
>			<xs:element name="revisionDesc" minOccurs="0" maxOccurs="unbounded"/>
>
>		</xs:sequence>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><!-- elements for header, with exception of title -->
>
>
>
><xs:element name="contributor">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="creator">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attribute name="role" type="roleType" use="optional"/>
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="subject">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="description">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="publisher">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="type">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="format">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="identifier">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="source">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="language">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="relation">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="coverage">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="rights">
>
>	<xs:complexType>
>
>		<xs:simpleContent> 	
>
>			<xs:extension base="xs:string">
>
>				<xs:attributeGroup ref="globalAttributes"/>
>
>			</xs:extension>
>
>		</xs:simpleContent>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="revisionDesc">
>
>	<xs:complexType>
>
>		<xs:sequence>
>
>			<xs:element ref="date" minOccurs="1"/>
>
>			<xs:element ref="p" maxOccurs="unbounded"/>
>
>		</xs:sequence>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>		<xs:attribute name="TEIform" fixed="revisionDesc"/>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
>
>
><!-- end of header elements -->
>
>
>
><!-- major structural elements -->
>
>
>
><!-- note that title recurs (within title) so even though only one title element, can have as many subtitles as desired -->
>
><!-- Todd has noted that since the content models for front, body and back are the same that we could handle these with a common element with an attribute for those divisions. I tend to agree but suspect it will be easier to explain if we retain the semantics of having different elements names for these divisions. -->
>
>
>
><xs:element name="front">
>
>	<xs:complexType>
>
>		<xs:sequence>
>
>			<xs:element ref="title" minOccurs="0"/>
>
>			<xs:element ref="div" minOccurs="1" maxOccurs="unbounded"/>
>
>		</xs:sequence>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><xs:element name="body">
>
>	<xs:complexType>
>
>		<xs:sequence>
>
>			<xs:element ref="title" minOccurs="0"/>
>
>			<xs:element ref="div" maxOccurs="unbounded"/>
>
>		</xs:sequence>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>		<xs:attribute name="TEIform" fixed="body"/>
>
>	</xs:complexType>
>
></xs:element>
>
>	
>
><xs:element name="back">
>
>	<xs:complexType>
>
>		<xs:sequence>
>
>			<xs:element ref="title" minOccurs="0"/>
>
>			<xs:element ref="div" maxOccurs="unbounded"/>
>
>		</xs:sequence>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>		<xs:attribute name="TEIform" fixed="back"/>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
><!-- end of major structural elements -->
>
>
>
><!-- abbr element contains abbreviations and expansion of abbreviations is carried in the expansion attribute. Note allowed since people may want to annotate the abbreviation with other information. Have allowed unbounded number of notes, probably should be the general case for notes as there is no way to anticipate how many notes any text may have at a given point. Can be changed for validation in particular production environments -->
>
>
>
><xs:element name="abbr">
>
>	    <xs:complexType mixed="true">
>
>		<xs:sequence minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>		</xs:sequence>
>
>		<xs:attribute name="expansion" type="xs:string"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
>
>
><!-- blockQuote is a child of blockQuote, div and p. Can contain p which form part of the blockQuote. If used to surround verses for denoting blockQuote, use next/prev attributes on verses to span the close of the blockQuote element -->
>
>
>
><xs:element name="blockQuote">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="close"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="p"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="salute"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="speaker"/>
>
>			   <xs:element ref="speech"/>
>
>			   <xs:element ref="transChange"/>
>
>			   <xs:element ref="verse"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>		<xs:attributeGroup ref="outReferenceAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- caption is used within figure to contain short descriptive information that may appear with an illustration, photo or other illustration - caption is allowed to contain abbr, foreign, name, note, q, reference --> 
>
>
>
><xs:element name="caption">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- catchWord is used to contain text in a note that is part of the main text and used to alert the reader to the materila from the main text that is under discussion. may contain PCDATA and note. -->
>
>
>
><xs:element name="catchWord">
>
>	    <xs:complexType mixed="true">
>
>		<xs:sequence minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>		</xs:sequence>
>
>		<xs:attribute name="expansion" type="xs:string"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- close is a child of div and blockQuote, meant to deal with close of letters (Pauline for example) -->
>
>
>
><xs:element name="close">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="divineName"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="p"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="verse"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attribute name="expansion" type="xs:string"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- date includes note for cases where in addition to recording the calendar type, the encoder wishes to make some other claim about the date -->
>
>
>
><xs:element name="date">
>
>	    <xs:complexType mixed="true">
>
>		<xs:sequence minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>		</xs:sequence>
>
>		<xs:attribute name="calendarType" type="calendar" use="optional" default="ISO"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- div is the largest generic container below the main structural elements - should be used for subsections in commentaries and the like -->
>
>
>
><xs:element name="div">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="blockQuote"/>
>
>			   <xs:element ref="figure"/>
>
>			   <xs:element ref="lineGroup"/>
>
>			   <xs:element ref="list"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="p"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="title"/>
>
>			   <xs:element ref="verse"/>
>
>		</xs:choice>
>
>			<xs:attribute name="divType" type="divType" use="optional"/>
>
>			<xs:attribute name="divTitle" type="xs:string" use="optional"/>
>
>			<xs:attributeGroup ref="inReferenceAttributes"/>
>
>			<xs:attributeGroup ref="globalAttributes"/>
>
>			<xs:attribute name="TEIform" fixed="div"/>
>
>	    </xs:complexType>
>
></xs:element>
>
>
>
><!-- used to mark occurrences of the divine name, the treatment of which varies from tradtional to tradition. The type attribute should be used if the encoder wishes to create a typology of of the divine name as found or translated in the text. -->
>
>
>
><xs:element name="divineName">
>
>	    <xs:complexType mixed="true">
>
>		<xs:sequence minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>		</xs:sequence>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- figure contains only an optional caption element - the source for the figure should be specified using the src attribute -->
>
>
>
><xs:element name="figure">
>
>	    <xs:complexType>
>
>		<xs:sequence minOccurs="0">
>
>			   <xs:element ref="caption"/>
>
>		</xs:sequence>
>
>		<xs:attribute name="src" type="xs:string"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- foreign is used to mark foreign words or phrases that occur in a text. such words are usually offset from the main text by quotes or italics but that is a function of styling and not reflected in the attributes to this element, i.e., no rend, sorry Chris! -->
>
>
>
><xs:element name="foreign">
>
>	<xs:complexType mixed="true">
>
>		<xs:sequence minOccurs="0" maxOccurs="unbounded">
>
>			<xs:element ref="note"/>
>
>		</xs:sequence>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	</xs:complexType>
>
></xs:element>
>
>
>
>
>
><!-- head, allowed in list only, does recur so can have multiple level of headings for a list, note that list recurs as well -->
>
>
>
><xs:element name="head">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="head"/>
>
>			   <xs:element ref="note"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- inscription, fairly low level element to record short inscriptions, should not be used for quotes -->
>
>
>
><xs:element name="inscription">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- item is solely a child of list and contains mixed content, note and w -->
>
>
>
><xs:element name="item">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- label, optional element in list -->
>
>
>
><xs:element name="label">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- line is a member of lineGroup and should be used for poetic sections, not the recording of orthographic lines, such as when encoding a manuscript witness. markup for recording original mss. will be included in the scholarly module. Note that line can include a verse and this is the most likely place for crossing boundaries where verses will need to be split to cross line boundaries. -->
>
>
>
><xs:element name="line">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="speaker"/>
>
>			   <xs:element ref="transChange"/>
>
>			   <xs:element ref="verse"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- lineGroup is a container element for line. use for poetic texts and embed verses, by splitting them, into the line elements --> 
>
>
>
><xs:element name="lineGroup">
>
>	    <xs:complexType>
>
>		<xs:sequence minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="line"/>
>
>		</xs:sequence>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- list, allowed to recur for embedded lists -->
>
>
>
><xs:element name="list">
>
>	    <xs:complexType mixed="true">
>
>		<xs:sequence minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="label" minOccurs="0" maxOccurs="1"/>
>
>			   <xs:element ref="item" minOccurs="1" maxOccurs="1"/>
>
>		</xs:sequence>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- mentioned -->
>
>
>
><xs:element name="mentioned">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="date"/>
>
>			   <xs:element ref="divineName"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- milestone, true milestone so no begin/end -->
>
>
>
><xs:element name="milestone">
>
>	    <xs:complexType>
>
>		<xs:attributeGroup ref="inReferenceAttributes"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	    </xs:complexType>
>
></xs:element>  
>
>
>
><!-- name is used to mark any variety of names, such as person, geographic, festival, etc. -->
>
>
>
><xs:element name="name">
>
>	    <xs:complexType mixed="true">
>
>		<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attribute name="nameType" type="nameType" use="required"/>
>
>		<xs:attribute name="regular" type="xs:string" use="optional"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- note is used inline to record notes about a particular text - note has attributes that allow the attachment of the note to a particular place or passage in the text -->
>
>
>
><xs:element name="note">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="p"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reading"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="verse"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- the standard paragraph container element -->
>
>
>
><xs:element name="p">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="blockQuote"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="inscription"/>
>
>			   <xs:element ref="mentioned"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="salute"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="speaker"/>
>
>			   <xs:element ref="speech"/>
>
>			   <xs:element ref="verse"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
>
>
><!-- note that q does not allow verse. In secondary materials where a verse is being quoted by a speaker, for example, it whould be encoded as a reference with the appropriate attributes -->
>
>
>
><xs:element name="q">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attribute name="qID" type="xs:string"/>
>
>		<xs:attribute name="next" type="xs:string" use="optional"/>
>
>		<xs:attribute name="prev" type="xs:string" use="optional"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
>	   <xs:key name="prevQKey">
>
>		   <xs:selector xpath=".//q"/>
>
>		   <xs:field xpath="@qID"/>
>
>	   </xs:key>
>
>	   <xs:keyref name="prevQRef" refer="prevQKey">
>
>		   <xs:selector xpath=".//q"/>
>
>		   <xs:field xpath="@prev"/>
>
>	   </xs:keyref>
>
></xs:element>
>
>
>
><!-- reading occurs only in note, records alternative readings -->
>
>
>
><xs:element name="reading">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- reference is used to mark any reference in a text to another, whether direct or an allusion. The type of reference being should be classified by the encoder. References from the NT to passages in the OT would be examples of a reference. -->
>
>
>
><xs:element name="reference">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- salute occurs in both blockQuote as well as p since encoders may choose to use different mechanisms contain material where a salute occurs -->
>
>
>
><xs:element name="salute">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- seg is a generic container element that can contain phrase level elements -->
>
>
>
><xs:element name="seg">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attribute name="segID" type="xs:string"/>
>
>		<xs:attribute name="next" type="xs:string" use="optional"/>
>
>		<xs:attribute name="prev" type="xs:string" use="optional"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
>	   <xs:key name="prevSegKey">
>
>		   <xs:selector xpath=".//seg"/>
>
>		   <xs:field xpath="@segID"/>
>
>	   </xs:key>
>
>	   <xs:keyref name="prevSegRef" refer="prevSegKey">
>
>		   <xs:selector xpath=".//seg"/>
>
>		   <xs:field xpath="@prev"/>
>
>	   </xs:keyref>
>
></xs:element>
>
>
>
><!-- signed is used to record the ending of a text where the author indicates that they have issued a particular work -->
>
>
>
><xs:element name="signed">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- speaker will usually have content but is not required to do so, shifts in the character in poetic dialogue may not be explicitly marked in a text but the encoder wishes to make a claim about such speakers -->
>
>
>
><xs:element name="speaker">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="reference"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- speech is used to mark direct speeches, reported speeches should be recorded using the q element -->
>
>
>
><xs:element name="speech">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="blockQuote"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="inscription"/>
>
>			   <xs:element ref="mentioned"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="salute"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="speaker"/>
>
>			   <xs:element ref="speech"/>
>
>			   <xs:element ref="verse"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attribute name="speechID" type="xs:string"/>
>
>		<xs:attribute name="next" type="xs:string" use="optional"/>
>
>		<xs:attribute name="prev" type="xs:string" use="optional"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
>	   <xs:key name="prevSpeechKey">
>
>		   <xs:selector xpath=".//speech"/>
>
>		   <xs:field xpath="@speechID"/>
>
>	   </xs:key>
>
>	   <xs:keyref name="prevSpeechRef" refer="prevSpeechKey">
>
>		   <xs:selector xpath=".//speech"/>
>
>		   <xs:field xpath="@prev"/>
>
>	   </xs:keyref>
>
></xs:element>
>
>
>
><!-- title occurs as child of div only - recurs so can use for subtitles - some smaller elements for common parts of title -->
>
>
>
><xs:element name="title">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="title"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>		<xs:attribute name="TEIform" fixed="title"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- transChange is used to encode material not thought to be part of the original language in a translation - use attributes to indicate a typology of the change -->
>
>
>
><xs:element name="transChange">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attribute name="changeType" type="changeType" use="optional"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- note that I have added the key/keyRef to allow the spliting of a verse across boundaries where necessary. The key/keyRef mechanism requires that the key be non-nillable, in other words required. Rather than make another attribute group for global attributes or require IDs everywhere, I simply added the verseID attribute and it is required on all elements. Note that the next attribute has only an informative function. -->
>
>
>
><xs:element name="verse">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="abbr"/>
>
>			   <xs:element ref="foreign"/>
>
>			   <xs:element ref="inscription"/>
>
>			   <xs:element ref="milestone"/>
>
>			   <xs:element ref="name"/>
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="q"/>
>
>			   <xs:element ref="reference"/>
>
>			   <xs:element ref="seg"/>
>
>			   <xs:element ref="speaker"/>
>
>			   <xs:element ref="w"/>
>
>		</xs:choice>
>
>		<xs:attribute name="verseID" type="xs:string"/>
>
>		<xs:attribute name="next" type="xs:string" use="optional"/>
>
>		<xs:attribute name="prev" type="xs:string" use="optional"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
>	   <xs:key name="prevVerseKey">
>
>		   <xs:selector xpath=".//verse"/>
>
>		   <xs:field xpath="@verseID"/>
>
>	   </xs:key>
>
>	   <xs:keyref name="prevVerseRef" refer="prevVerseKey">
>
>		   <xs:selector xpath=".//verse"/>
>
>		   <xs:field xpath="@prev"/>
>
>	   </xs:keyref>
>
></xs:element>
>
>
>
><!-- word is used to mark the smallest unit of text, generally in Western literature seen as a token separated by white space - has attributes to carry Strong's numbers. -->
>
>
>
><xs:element name="w">
>
>	    <xs:complexType mixed="true">
>
>	    	<xs:choice minOccurs="0" maxOccurs="unbounded">
>
>			   <xs:element ref="note"/>
>
>			   <xs:element ref="seg"/>
>
>		</xs:choice>
>
>		<xs:attribute name="POS" type="attributeExtension" use="optional"/>
>
>		<xs:attribute name="morph" type="attributeExtension" use="optional"/>
>
>		<xs:attribute name="lemma" type="attributeExtension" use="optional"/>
>
>		<xs:attribute name="gloss" type="xs:string" use="optional"/>
>
>		<xs:attribute name="xlit" type="xs:string" use="optional"/>
>
>		<xs:attributeGroup ref="globalAttributes"/>
>
>	   </xs:complexType>
>
></xs:element>
>
>
>
><!-- attributes -->
>
>
>
><xs:attributeGroup name="globalAttributes">
>
>		<xs:attribute name="ews" type="xs:string" use="optional"/>
>
>		<xs:attribute name="ID" type="xs:ID" use="optional"/>
>
>		<xs:attribute name="lang" type="xs:string" use="optional"/>
>
>		<xs:attribute name="resp" type="xs:string" use="optional"/>
>
>		<xs:attribute name="type" type="xs:string" use="optional"/>
>
>		<xs:attribute name="n" type="xs:string" use="optional"/>
>
>		<xs:attributeGroup ref="inReferenceAttributes"/>
>
>		<xs:attributeGroup ref="outReferenceAttributes"/>
>
></xs:attributeGroup>
>
>
>
><!-- note that for the various simple types I have only defined the regexes as suggested by Steve. For further validation, those values, particulary osisWork and osisRef should be overidden by additional declarations. avoids trying to solve the referce system question based upon inadequate information -->
>
>
>
><xs:attributeGroup name="inReferenceAttributes">
>
>	<xs:attribute name="work" type="osisRef" use="optional"/>
>
>	<xs:attribute name="cite" type="osisRef" use="optional"/>
>
>	<xs:attribute name="grain" type="osisGrain" use="optional"/>
>
></xs:attributeGroup>	
>
>
>
><xs:attributeGroup name="outReferenceAttributes">
>
>	<xs:attribute name="outWork" type="osisRef" use="optional"/>
>
>	<xs:attribute name="outCite" type="osisRef" use="optional"/>
>
>	<xs:attribute name="outGrain" type="osisGrain" use="optional"/>
>
></xs:attributeGroup>
>
>
>
>
>
><!-- simple types -->
>
>
>
><xs:simpleType name="attributeExtension">
>
>	<xs:restriction base="xs:string">
>
>		<xs:pattern value="x-([^\s]+)"/>
>
>	</xs:restriction>
>
></xs:simpleType>
>
>
>
><xs:simpleType name="calendar">
>
>	<xs:restriction base="xs:string">
>
>		<xs:enumeration value="Chinese"/>
>
>		<xs:enumeration value="Gregorian"/>
>
>		<xs:enumeration value="Islamic"/>
>
>		<xs:enumeration value="ISO"/>
>
>		<xs:enumeration value="Jewish"/>
>
>		<xs:enumeration value="Julian"/>
>
>	</xs:restriction>
>
></xs:simpleType>
>
>
>
><xs:simpleType name="changesOSIS">
>
>	       <xs:restriction base="xs:string">
>
>		<xs:enumeration value="added"/>
>
>		<xs:enumeration value="amplified"/>
>
>		<xs:enumeration value="changed"/>
>
>		<xs:enumeration value="deleted"/>
>
>		<xs:enumeration value="moved"/>
>
>	       </xs:restriction>
>
></xs:simpleType>
>
>		
>
><xs:simpleType name="changeType">
>
>	<xs:union memberTypes="changesOSIS attributeExtension"/>
>
></xs:simpleType>
>
>
>
><xs:simpleType name="divsOSIS">
>
>	<xs:restriction base="xs:string">
>
>		<xs:enumeration value="appendix"/>
>
>		<xs:enumeration value="book"/>
>
>		<xs:enumeration value="chapter"/>
>
>		<xs:enumeration value="concordance"/>
>
>		<xs:enumeration value="glossary"/>
>
>	</xs:restriction>
>
></xs:simpleType>
>
>
>
><xs:simpleType name="divType">
>
>	<xs:union memberTypes="divsOSIS attributeExtension"/>
>
></xs:simpleType>
>
>
>
><xs:simpleType name="languageType">
>
>		<xs:restriction base="xs:string">
>
>			<xs:pattern value="(x|i|[A-Za-z]{2,3})(-[A-Za-z0-9]{2,8}){0,}"/>
>
>		</xs:restriction>
>
>	</xs:simpleType>
>
>
>
><xs:simpleType name="namesOSIS">
>
>	<xs:annotation>
>
>		<xs:documentation>
>
>			<p>Enumerated list of name types commonly found in biblical texts.</p>
>
>			<p>The attribute nonhuman was inserted to allow the marking of names that are not encoded with the element divineName. The divineName element was introduced to treat name occurences that are treated differently, i.e., the setting of Lord in small caps, to represent a name in the original text. Rather than attempt to enumerate all the varying traditions for such practices, the divineName element simply recognizes it and allows encoders to follow that practice (or not) as they desire.</p>
>
>		</xs:documentation>
>
>	</xs:annotation>
>
>	<xs:restriction base="xs:string">
>
>		<xs:enumeration value="geographic"/>
>
>		<xs:enumeration value="holiday"/>
>
>		<xs:enumeration value="nonhuman"/>
>
>		<xs:enumeration value="person"/>
>
>		<xs:enumeration value="ritual"/>
>
>	</xs:restriction>
>
></xs:simpleType>
>
>
>
><xs:simpleType name="nameType">
>
>	<xs:union memberTypes="namesOSIS attributeExtension"/>
>
></xs:simpleType>
>
>
>
><xs:simpleType name="notesOSIS">
>
>	<xs:restriction base="xs:string">
>
>		<xs:enumeration value="allusion"/>
>
>		<xs:enumeration value="alternative"/>
>
>		<xs:enumeration value="background"/>
>
>		<xs:enumeration value="citation"/>
>
>		<xs:enumeration value="devotional"/>
>
>		<xs:enumeration value="exegesis"/>
>
>		<xs:enumeration value="explanation"/>
>
>		<xs:enumeration value="study"/>
>
>		<xs:enumeration value="translation"/>
>
>		<xs:enumeration value="variant"/>
>
>	</xs:restriction>
>
></xs:simpleType>
>
>
>
><xs:simpleType name="noteType">
>
>	<xs:union memberTypes="notesOSIS attributeExtension"/>
>
></xs:simpleType>
>
>
>
>
>
><!-- query to Steve, shouldn't grain do the duty of range? Can be character count but also other meaningful (in the reference system) grain? -->
>
>
>
><xs:simpleType name="osisGrain">
>
>	       <xs:restriction base="xs:string">
>
>		  <xs:pattern value="(char:(\p{Nd}*)\+(\p{Nd}*)\(([^\s]*)\) | ([^\s]*))"/>
>
>	       </xs:restriction>
>
></xs:simpleType>
>
>
>
>
>
><xs:simpleType name="osisRef">
>
>	<xs:restriction base="xs:string">
>
>		<xs:pattern value="(([^\s]*\.)?([^\s]*\.)?([^\s]*\.)?([^\s]*\.)?([^\s]*\.)?([^\s]*)?)"/>
>
>	</xs:restriction>
>
></xs:simpleType>
>
>
>
>
>
>
>
>	<xs:simpleType name="roleOSIS">
>
>		<xs:annotation>
>
>			<xs:documentation>
>
>				<p>This is a selected set of the most common role names likely to be needed for basic encoding. The full set of relator codes on which this listing (and the descriptions are based, was taken from: MARC Code List: Relator Codes -- Term Sequence (http://lcweb.loc.gov/marc/relators/re0002r1.html). This listing will be followed for later OSIS modules.</p>
>
>			</xs:documentation>
>
>		</xs:annotation>
>
>		<xs:restriction base="xs:string">
>
>			<xs:enumeration value="adp">
>
>				<xs:annotation>
>
>					<xs:documentation>Adapter: Use for a person who 1) reworks a musical composition,usually for a different medium, or 2) rewrites novels or stories for motionpictures or other audiovisual medium.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="ann">
>
>				<xs:annotation>
>
>					<xs:documentation>Annotator: Use for a person who writes manuscript annotations on a printed item.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="art">
>
>				<xs:annotation>
>
>					<xs:documentation>Artist: Use for a person (e.g., a painter) who conceives, and perhaps also implements, an original graphic design or work of art, </xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="aut">
>
>				<xs:annotation>
>
>					<xs:documentation>Author: Use for a person or corporate body chiefly responsiblefor the intellectual or artistic content of a work, usually printed text.  This term may also be used when more than one person or body bears such responsibility.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="aqt">
>
>				<xs:annotation>
>
>					<xs:documentation>Author in quotations or text extracts: Use for a person whose work is largely quoted or extracted in a works to which he or she did not contribute directly.  Such quotations are found particularly in exhibition catalogs, collections of photographs, etc.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="aft">
>
>				<xs:annotation>
>
>					<xs:documentation>Author of afterword, colophon, etc.: Use for a person or corporate body responsible for an afterword, postface, colophon, etc. but who isnot the chief author of a work.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="aui">
>
>				<xs:annotation>
>
>					<xs:documentation>Author of introduction, etc.: Use for a person or corporate body responsible for an introduction, preface, foreword, or other critical introductory matter, but who is not the chief author.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="bnd">
>
>				<xs:annotation>
>
>					<xs:documentation>Binder: </xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="bdd">
>
>				<xs:annotation>
>
>					<xs:documentation>Binding designer:  Designer of binding</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="bkd">
>
>				<xs:annotation>
>
>					<xs:documentation>Book designer: Use for the person or firm responsible for the entire graphic design of a book, including arrangement of type and illustration,choice of materials, and process used.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="bkp">
>
>				<xs:annotation>
>
>					<xs:documentation>Book producer: Use for the person or firm responsible for the production of books and other print media, if specific codes</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="bjd">
>
>				<xs:annotation>
>
>					<xs:documentation>Bookjacket designer:  Designer of bookjacket</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="bpd">
>
>				<xs:annotation>
>
>					<xs:documentation>Bookplate designer: Designer of bookplate</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="ctg">
>
>				<xs:annotation>
>
>					<xs:documentation>Cartographer: </xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="clb">
>
>				<xs:annotation>
>
>					<xs:documentation>Collaborator: Use for a person or corporate body that takes a limited part in the elaboration of a work of another person or corporate body that brings complements (e.g., appendices, notes) to the work.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="cmm">
>
>				<xs:annotation>
>
>					<xs:documentation>Commentator: Use for a person who provides interpretation, analysis,or a discussion of the subject matter on a recording, motion picture, or other audiovisual medium.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="cwt">
>
>				<xs:annotation>
>
>					<xs:documentation>Commentator for written text: Use for a person or corporate body responsible for the commentary or explanatory notes about a text.  For the writer of manuscript annotations in a printed book, use Annotator</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="com">
>
>				<xs:annotation>
>
>					<xs:documentation>Compiler: Use for a person who produces a work or publication by selecting and putting together material from the works of various persons or bodies.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="ctb">
>
>				<xs:annotation>
>
>					<xs:documentation>Contributor: Use for one whose work has been contributed to a larger work, such as an anthology, serial publication, or other compilation of individual works. Do not use for someone whose sole function in relation to a work is as author, editor, compiler or translator.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="cre">
>
>				<xs:annotation>
>
>					<xs:documentation>Creator: Use for a person or corporate body responsible for the intellectual or artistic content of a work.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="edt">
>
>				<xs:annotation>
>
>					<xs:documentation>Editor: Use for a person who prepares for publication a work not primarily his/her own, such as by elucidating text, adding introductory or other critical matter, or technically directing an editorial staff.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="ilu">
>
>				<xs:annotation>
>
>					<xs:documentation>Illuminator: </xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="ill">
>
>				<xs:annotation>
>
>					<xs:documentation>Illustrator: Use for the person who conceives, and perhaps also implements, a design or illustration, usually to accompany a written text.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="pbl">
>
>				<xs:annotation>
>
>					<xs:documentation>Publisher: </xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>			<xs:enumeration value="trl">
>
>				<xs:annotation>
>
>					<xs:documentation>Translator: Use for a person who renders a text from one language into another, or from an older form of a language into the modern form.</xs:documentation>
>
>				</xs:annotation>
>
>			</xs:enumeration>
>
>		</xs:restriction>
>
>	</xs:simpleType>
>
>
>
><xs:simpleType name="roleType">
>
>	<xs:union memberTypes="roleOSIS attributeExtension"/>
>
></xs:simpleType>
>
>
>
></xs:schema>
>

-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu



--------------020104050808000304010405
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
</head>
<body>
Chris, <br>
<br>
Good call, although I like the alternative solution better. Probably because
I see a corpus as needing a common header and yet allowing individual headers
for the various texts. With your second solution, we know the location of
a header, corpus or single text and that seems like a good thing to me. Done
and done.<br>
<br>
Patrick<br>
<br>
Chris Little wrote:<br>
<blockquote type="cite" cite="mid:000201c201fa$33f12a50$0300000a@DIASPORA">
  <pre wrap="">Looking at the current content model, I really like the addition of<br>osisCorpus, but I think it raises possible issues with the header<br>element.<br><br>I believe a majority of instances where osisCorpus would be used, it<br>would make sense to have a header element that applies to the whole<br>document (osisCorpus) rather than the component osisTexts.  I would<br>recommend that we add Header as a required element of osisCorpus.<br><br>An alternate solution would be to make Header a required element of osis<br>and only optional in osisText (and not at all part of osisCorpus.  The<br>osisText's Header element would be used only when the osisText is a<br>child of an osisCorpus.<br><br>--Chris<br></pre>
  <pre wrap=""><br><hr width="90%" size="4"><br>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br><br>&lt;xs:schema xmlns:xs=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a><br><br>	elementFormDefault="unqualified"&gt;<br><br><br><br><br><br>&lt;!-- note that I have added a higher level root element so we can have collections of independent texts for a collection --&gt;<br><br><br><br>&lt;xs:element name="osis"&gt;<br><br>	    &lt;xs:complexType&gt;<br><br>		&lt;xs:choice&gt;<br><br>			&lt;xs:element ref="osisCorpus"/&gt;<br><br>			&lt;xs:element ref="osisText"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>	    &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="osisCorpus"&gt;<br><br>	    &lt;xs:complexType&gt;<br><br>		&lt;xs:sequence minOccurs="1" maxOccurs="unbounded"&gt;<br><br>			&lt;xs:element ref="osisText"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>	    &lt;/xs:complexType&gt;<b
r><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="osisText"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:sequence&gt;<br><br>			&lt;xs:element ref="header" minOccurs="1" maxOccurs="1"/&gt;<br><br>			&lt;xs:element ref="front" minOccurs="0" maxOccurs="1"/&gt;<br><br>			&lt;xs:element ref="body" minOccurs="1" maxOccurs="1"/&gt;<br><br>			&lt;xs:element ref="back" minOccurs="0" maxOccurs="1"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>			&lt;xs:attribute name="work" type="osisRef" use="optional"/&gt;<br><br>			&lt;xs:attribute name="refSys" type="osisRef" use="optional"/&gt;<br><br>			&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="header"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:sequence&gt;<br><br>			&lt;xs:element ref="title" minOccurs="0"/&gt;<br><br>			&lt;xs:element ref="contributor" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element nam
e="creator" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="subject" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="description" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="publisher" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="type" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="format" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="identifier" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="source" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="language" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="relation" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="coverage" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="rights" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>			&lt;xs:element name="revisionD
esc" minOccurs="0" maxOccurs="unbounded"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- elements for header, with exception of title --&gt;<br><br><br><br>&lt;xs:element name="contributor"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="creator"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attribute name="role" type="roleType" use="optional"/&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt
;<br><br><br><br>&lt;xs:element name="subject"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="description"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="publisher"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simple
Content&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="type"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="format"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="identifier"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes
"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="source"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="language"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="relation"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:st
ring"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="coverage"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="rights"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:simpleContent&gt; 	<br><br>			&lt;xs:extension base="xs:string"&gt;<br><br>				&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;/xs:extension&gt;<br><br>		&lt;/xs:simpleContent&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="revisionDesc"&gt;<br><br>	&lt;xs:complexType&gt;<br><br
>		&lt;xs:sequence&gt;<br><br>			&lt;xs:element ref="date" minOccurs="1"/&gt;<br><br>			&lt;xs:element ref="p" maxOccurs="unbounded"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>		&lt;xs:attribute name="TEIform" fixed="revisionDesc"/&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br><br><br>&lt;!-- end of header elements --&gt;<br><br><br><br>&lt;!-- major structural elements --&gt;<br><br><br><br>&lt;!-- note that title recurs (within title) so even though only one title element, can have as many subtitles as desired --&gt;<br><br>&lt;!-- Todd has noted that since the content models for front, body and back are the same that we could handle these with a common element with an attribute for those divisions. I tend to agree but suspect it will be easier to explain if we retain the semantics of having different elements names for these divisions. --&gt;<br><br><br><br>&lt;xs:element name="front"
&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:sequence&gt;<br><br>			&lt;xs:element ref="title" minOccurs="0"/&gt;<br><br>			&lt;xs:element ref="div" minOccurs="1" maxOccurs="unbounded"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;xs:element name="body"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:sequence&gt;<br><br>			&lt;xs:element ref="title" minOccurs="0"/&gt;<br><br>			&lt;xs:element ref="div" maxOccurs="unbounded"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>		&lt;xs:attribute name="TEIform" fixed="body"/&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br>	<br><br>&lt;xs:element name="back"&gt;<br><br>	&lt;xs:complexType&gt;<br><br>		&lt;xs:sequence&gt;<br><br>			&lt;xs:element ref="title" minOccurs="0"/&gt;<br><br>			&lt;xs:element ref="div" maxOccurs="unbou
nded"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>		&lt;xs:attribute name="TEIform" fixed="back"/&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- end of major structural elements --&gt;<br><br><br><br>&lt;!-- abbr element contains abbreviations and expansion of abbreviations is carried in the expansion attribute. Note allowed since people may want to annotate the abbreviation with other information. Have allowed unbounded number of notes, probably should be the general case for notes as there is no way to anticipate how many notes any text may have at a given point. Can be changed for validation in particular production environments --&gt;<br><br><br><br>&lt;xs:element name="abbr"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;x
s:attribute name="expansion" type="xs:string"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br><br><br>&lt;!-- blockQuote is a child of blockQuote, div and p. Can contain p which form part of the blockQuote. If used to surround verses for denoting blockQuote, use next/prev attributes on verses to span the close of the blockQuote element --&gt;<br><br><br><br>&lt;xs:element name="blockQuote"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="close"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="p"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="r
eference"/&gt;<br><br>			   &lt;xs:element ref="salute"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="speaker"/&gt;<br><br>			   &lt;xs:element ref="speech"/&gt;<br><br>			   &lt;xs:element ref="transChange"/&gt;<br><br>			   &lt;xs:element ref="verse"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>		&lt;xs:attributeGroup ref="outReferenceAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- caption is used within figure to contain short descriptive information that may appear with an illustration, photo or other illustration - caption is allowed to contain abbr, foreign, name, note, q, reference --&gt; <br><br><br><br>&lt;xs:element name="caption"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreig
n"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- catchWord is used to contain text in a note that is part of the main text and used to alert the reader to the materila from the main text that is under discussion. may contain PCDATA and note. --&gt;<br><br><br><br>&lt;xs:element name="catchWord"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attribute name="expansion" type="xs:string"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><
br><br>&lt;!-- close is a child of div and blockQuote, meant to deal with close of letters (Pauline for example) --&gt;<br><br><br><br>&lt;xs:element name="close"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="divineName"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="p"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="verse"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attribute name="expansion" type="xs:string"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:com
plexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- date includes note for cases where in addition to recording the calendar type, the encoder wishes to make some other claim about the date --&gt;<br><br><br><br>&lt;xs:element name="date"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attribute name="calendarType" type="calendar" use="optional" default="ISO"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- div is the largest generic container below the main structural elements - should be used for subsections in commentaries and the like --&gt;<br><br><br><br>&lt;xs:element name="div"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			  
 &lt;xs:element ref="blockQuote"/&gt;<br><br>			   &lt;xs:element ref="figure"/&gt;<br><br>			   &lt;xs:element ref="lineGroup"/&gt;<br><br>			   &lt;xs:element ref="list"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="p"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="title"/&gt;<br><br>			   &lt;xs:element ref="verse"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>			&lt;xs:attribute name="divType" type="divType" use="optional"/&gt;<br><br>			&lt;xs:attribute name="divTitle" type="xs:string" use="optional"/&gt;<br><br>			&lt;xs:attributeGroup ref="inReferenceAttributes"/&gt;<br><br>			&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>			&lt;xs:attribute name="TEIform" fixed="div"/&gt;<br><br>	    &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- used to mark occurrences of the divine name, the treatment of which varies from tradtional to 
tradition. The type attribute should be used if the encoder wishes to create a typology of of the divine name as found or translated in the text. --&gt;<br><br><br><br>&lt;xs:element name="divineName"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- figure contains only an optional caption element - the source for the figure should be specified using the src attribute --&gt;<br><br><br><br>&lt;xs:element name="figure"&gt;<br><br>	    &lt;xs:complexType&gt;<br><br>		&lt;xs:sequence minOccurs="0"&gt;<br><br>			   &lt;xs:element ref="caption"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attribute name="src" type="xs:string"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><b
r>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- foreign is used to mark foreign words or phrases that occur in a text. such words are usually offset from the main text by quotes or italics but that is a function of styling and not reflected in the attributes to this element, i.e., no rend, sorry Chris! --&gt;<br><br><br><br>&lt;xs:element name="foreign"&gt;<br><br>	&lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			&lt;xs:element ref="note"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	&lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br><br><br>&lt;!-- head, allowed in list only, does recur so can have multiple level of headings for a list, note that list recurs as well --&gt;<br><br><br><br>&lt;xs:element name="head"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="
unbounded"&gt;<br><br>			   &lt;xs:element ref="head"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- inscription, fairly low level element to record short inscriptions, should not be used for quotes --&gt;<br><br><br><br>&lt;xs:element name="inscription"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- item is solely a child of list and contains mixed content, note and w --&gt;<br><br><br><br>&lt;xs:element name="item"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:ch
oice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- label, optional element in list --&gt;<br><br><br><br>&lt;xs:element name="label"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- line is a member of lineGroup and should be used for poetic sections, not the recording of orthographic lines, such as when encoding a manuscript witness. markup for recording original mss. will be included in the scholarly module. No
te that line can include a verse and this is the most likely place for crossing boundaries where verses will need to be split to cross line boundaries. --&gt;<br><br><br><br>&lt;xs:element name="line"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="speaker"/&gt;<br><br>			   &lt;xs:element ref="transChange"/&gt;<br><br>			   &lt;xs:element ref="verse"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- lineGroup is a container element for li
ne. use for poetic texts and embed verses, by splitting them, into the line elements --&gt; <br><br><br><br>&lt;xs:element name="lineGroup"&gt;<br><br>	    &lt;xs:complexType&gt;<br><br>		&lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="line"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- list, allowed to recur for embedded lists --&gt;<br><br><br><br>&lt;xs:element name="list"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:sequence minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="label" minOccurs="0" maxOccurs="1"/&gt;<br><br>			   &lt;xs:element ref="item" minOccurs="1" maxOccurs="1"/&gt;<br><br>		&lt;/xs:sequence&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- m
entioned --&gt;<br><br><br><br>&lt;xs:element name="mentioned"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="date"/&gt;<br><br>			   &lt;xs:element ref="divineName"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- milestone, true milestone so no begin/end --&gt;<br><br><br><br>&lt;xs:element name="milestone"&gt;<br><br>	    &lt;xs:complexType&gt;<br><br>		&lt;xs:attributeGroup ref="inReferenceAttributes"/&gt;<br><br>		&lt;xs:attributeGroup ref=
"globalAttributes"/&gt;<br><br>	    &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;  <br><br><br><br>&lt;!-- name is used to mark any variety of names, such as person, geographic, festival, etc. --&gt;<br><br><br><br>&lt;xs:element name="name"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>		&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attribute name="nameType" type="nameType" use="required"/&gt;<br><br>		&lt;xs:attribute name="regular" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- note is used inline to record notes about a particular text - note has attributes that allow the attachment of the note to a particular place or passage in the text --&gt;<br><br><br><br>&lt;xs:element name="note"&g
t;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="p"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reading"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="verse"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- the standard paragraph container element --&gt;<br><br><br><br>&lt;xs:element name="p"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice
 minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="blockQuote"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="inscription"/&gt;<br><br>			   &lt;xs:element ref="mentioned"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="salute"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="speaker"/&gt;<br><br>			   &lt;xs:element ref="speech"/&gt;<br><br>			   &lt;xs:element ref="verse"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br><br><br>&lt;!-- note that q does not allow verse.
 In secondary materials where a verse is being quoted by a speaker, for example, it whould be encoded as a reference with the appropriate attributes --&gt;<br><br><br><br>&lt;xs:element name="q"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attribute name="qID" type="xs:string"/&gt;<br><br>		&lt;xs:attribute name="next" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="prev" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attributeGroup ref="g
lobalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>	   &lt;xs:key name="prevQKey"&gt;<br><br>		   &lt;xs:selector xpath=".//q"/&gt;<br><br>		   &lt;xs:field xpath="@qID"/&gt;<br><br>	   &lt;/xs:key&gt;<br><br>	   &lt;xs:keyref name="prevQRef" refer="prevQKey"&gt;<br><br>		   &lt;xs:selector xpath=".//q"/&gt;<br><br>		   &lt;xs:field xpath="@prev"/&gt;<br><br>	   &lt;/xs:keyref&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- reading occurs only in note, records alternative readings --&gt;<br><br><br><br>&lt;xs:element name="reading"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;
xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- reference is used to mark any reference in a text to another, whether direct or an allusion. The type of reference being should be classified by the encoder. References from the NT to passages in the OT would be examples of a reference. --&gt;<br><br><br><br>&lt;xs:element name="reference"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- salute oc
curs in both blockQuote as well as p since encoders may choose to use different mechanisms contain material where a salute occurs --&gt;<br><br><br><br>&lt;xs:element name="salute"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- seg is a generic container element that can contain phrase level elements --&gt;<br><br><br><br>&lt;xs:element name="seg"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice 
minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attribute name="segID" type="xs:string"/&gt;<br><br>		&lt;xs:attribute name="next" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="prev" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>	   &lt;xs:key name="prevSegKey"&gt;<br><br>		   &lt;xs:selector xpath=".//seg"/&gt;<br><br>		   &lt;xs:field xpath="@segID"/&gt;<br><br>	   &lt;/xs:key&gt;<br><br>	   &lt;xs:keyref name="prevSegRef" refer="prevSegKey"&gt;<br><br>		   &lt;xs:selector xpath=".//seg"/&gt;<br><br>		   &lt;xs:field xpath="@prev"/&gt;<br><br>	   &lt;/xs:ke
yref&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- signed is used to record the ending of a text where the author indicates that they have issued a particular work --&gt;<br><br><br><br>&lt;xs:element name="signed"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- speaker will usually have content but is not required to do so, shifts in the character in poetic dialogue may not be explicitly marked in a text but the encod
er wishes to make a claim about such speakers --&gt;<br><br><br><br>&lt;xs:element name="speaker"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- speech is used to mark direct speeches, reported speeches should be recorded using the q element --&gt;<br><br><br><br>&lt;xs:element name="speech"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="blockQuote"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="inscription"/&gt;<br><b
r>			   &lt;xs:element ref="mentioned"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="salute"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="speaker"/&gt;<br><br>			   &lt;xs:element ref="speech"/&gt;<br><br>			   &lt;xs:element ref="verse"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attribute name="speechID" type="xs:string"/&gt;<br><br>		&lt;xs:attribute name="next" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="prev" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>	   &lt;xs:key name="prevSpeechKey"&gt;<br><br>		   &lt;xs:selector xpath=".//speech"/&gt;<br><br>		   &lt;x
s:field xpath="@speechID"/&gt;<br><br>	   &lt;/xs:key&gt;<br><br>	   &lt;xs:keyref name="prevSpeechRef" refer="prevSpeechKey"&gt;<br><br>		   &lt;xs:selector xpath=".//speech"/&gt;<br><br>		   &lt;xs:field xpath="@prev"/&gt;<br><br>	   &lt;/xs:keyref&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- title occurs as child of div only - recurs so can use for subtitles - some smaller elements for common parts of title --&gt;<br><br><br><br>&lt;xs:element name="title"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="title"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<
br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>		&lt;xs:attribute name="TEIform" fixed="title"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- transChange is used to encode material not thought to be part of the original language in a translation - use attributes to indicate a typology of the change --&gt;<br><br><br><br>&lt;xs:element name="transChange"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attribute name="changeType" type="changeType" use="optional"/&gt;<br>
<br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- note that I have added the key/keyRef to allow the spliting of a verse across boundaries where necessary. The key/keyRef mechanism requires that the key be non-nillable, in other words required. Rather than make another attribute group for global attributes or require IDs everywhere, I simply added the verseID attribute and it is required on all elements. Note that the next attribute has only an informative function. --&gt;<br><br><br><br>&lt;xs:element name="verse"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="abbr"/&gt;<br><br>			   &lt;xs:element ref="foreign"/&gt;<br><br>			   &lt;xs:element ref="inscription"/&gt;<br><br>			   &lt;xs:element ref="milestone"/&gt;<br><br>			   &lt;xs:element ref="name"/&gt;<br><br>			   &lt;xs:elem
ent ref="note"/&gt;<br><br>			   &lt;xs:element ref="q"/&gt;<br><br>			   &lt;xs:element ref="reference"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>			   &lt;xs:element ref="speaker"/&gt;<br><br>			   &lt;xs:element ref="w"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attribute name="verseID" type="xs:string"/&gt;<br><br>		&lt;xs:attribute name="next" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="prev" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>	   &lt;xs:key name="prevVerseKey"&gt;<br><br>		   &lt;xs:selector xpath=".//verse"/&gt;<br><br>		   &lt;xs:field xpath="@verseID"/&gt;<br><br>	   &lt;/xs:key&gt;<br><br>	   &lt;xs:keyref name="prevVerseRef" refer="prevVerseKey"&gt;<br><br>		   &lt;xs:selector xpath=".//verse"/&gt;<br><br>		   &lt;xs:field xpath="@prev"/&gt;<br><br>	   &lt;/xs:keyref&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!-- 
word is used to mark the smallest unit of text, generally in Western literature seen as a token separated by white space - has attributes to carry Strong's numbers. --&gt;<br><br><br><br>&lt;xs:element name="w"&gt;<br><br>	    &lt;xs:complexType mixed="true"&gt;<br><br>	    	&lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;<br><br>			   &lt;xs:element ref="note"/&gt;<br><br>			   &lt;xs:element ref="seg"/&gt;<br><br>		&lt;/xs:choice&gt;<br><br>		&lt;xs:attribute name="POS" type="attributeExtension" use="optional"/&gt;<br><br>		&lt;xs:attribute name="morph" type="attributeExtension" use="optional"/&gt;<br><br>		&lt;xs:attribute name="lemma" type="attributeExtension" use="optional"/&gt;<br><br>		&lt;xs:attribute name="gloss" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="xlit" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attributeGroup ref="globalAttributes"/&gt;<br><br>	   &lt;/xs:complexType&gt;<br><br>&lt;/xs:element&gt;<br><br><br><br>&lt;!
-- attributes --&gt;<br><br><br><br>&lt;xs:attributeGroup name="globalAttributes"&gt;<br><br>		&lt;xs:attribute name="ews" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="ID" type="xs:ID" use="optional"/&gt;<br><br>		&lt;xs:attribute name="lang" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="resp" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="type" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attribute name="n" type="xs:string" use="optional"/&gt;<br><br>		&lt;xs:attributeGroup ref="inReferenceAttributes"/&gt;<br><br>		&lt;xs:attributeGroup ref="outReferenceAttributes"/&gt;<br><br>&lt;/xs:attributeGroup&gt;<br><br><br><br>&lt;!-- note that for the various simple types I have only defined the regexes as suggested by Steve. For further validation, those values, particulary osisWork and osisRef should be overidden by additional declarations. avoids trying to solve the referce system question based upon ina
dequate information --&gt;<br><br><br><br>&lt;xs:attributeGroup name="inReferenceAttributes"&gt;<br><br>	&lt;xs:attribute name="work" type="osisRef" use="optional"/&gt;<br><br>	&lt;xs:attribute name="cite" type="osisRef" use="optional"/&gt;<br><br>	&lt;xs:attribute name="grain" type="osisGrain" use="optional"/&gt;<br><br>&lt;/xs:attributeGroup&gt;	<br><br><br><br>&lt;xs:attributeGroup name="outReferenceAttributes"&gt;<br><br>	&lt;xs:attribute name="outWork" type="osisRef" use="optional"/&gt;<br><br>	&lt;xs:attribute name="outCite" type="osisRef" use="optional"/&gt;<br><br>	&lt;xs:attribute name="outGrain" type="osisGrain" use="optional"/&gt;<br><br>&lt;/xs:attributeGroup&gt;<br><br><br><br><br><br>&lt;!-- simple types --&gt;<br><br><br><br>&lt;xs:simpleType name="attributeExtension"&gt;<br><br>	&lt;xs:restriction base="xs:string"&gt;<br><br>		&lt;xs:pattern value="x-([^\s]+)"/&gt;<br><br>	&lt;/xs:restriction&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br>&lt;xs:simpleType n
ame="calendar"&gt;<br><br>	&lt;xs:restriction base="xs:string"&gt;<br><br>		&lt;xs:enumeration value="Chinese"/&gt;<br><br>		&lt;xs:enumeration value="Gregorian"/&gt;<br><br>		&lt;xs:enumeration value="Islamic"/&gt;<br><br>		&lt;xs:enumeration value="ISO"/&gt;<br><br>		&lt;xs:enumeration value="Jewish"/&gt;<br><br>		&lt;xs:enumeration value="Julian"/&gt;<br><br>	&lt;/xs:restriction&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br>&lt;xs:simpleType name="changesOSIS"&gt;<br><br>	       &lt;xs:restriction base="xs:string"&gt;<br><br>		&lt;xs:enumeration value="added"/&gt;<br><br>		&lt;xs:enumeration value="amplified"/&gt;<br><br>		&lt;xs:enumeration value="changed"/&gt;<br><br>		&lt;xs:enumeration value="deleted"/&gt;<br><br>		&lt;xs:enumeration value="moved"/&gt;<br><br>	       &lt;/xs:restriction&gt;<br><br>&lt;/xs:simpleType&gt;<br><br>		<br><br>&lt;xs:simpleType name="changeType"&gt;<br><br>	&lt;xs:union memberTypes="changesOSIS attributeExtension"/&gt;<br><br>&lt;/xs:simpl
eType&gt;<br><br><br><br>&lt;xs:simpleType name="divsOSIS"&gt;<br><br>	&lt;xs:restriction base="xs:string"&gt;<br><br>		&lt;xs:enumeration value="appendix"/&gt;<br><br>		&lt;xs:enumeration value="book"/&gt;<br><br>		&lt;xs:enumeration value="chapter"/&gt;<br><br>		&lt;xs:enumeration value="concordance"/&gt;<br><br>		&lt;xs:enumeration value="glossary"/&gt;<br><br>	&lt;/xs:restriction&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br>&lt;xs:simpleType name="divType"&gt;<br><br>	&lt;xs:union memberTypes="divsOSIS attributeExtension"/&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br>&lt;xs:simpleType name="languageType"&gt;<br><br>		&lt;xs:restriction base="xs:string"&gt;<br><br>			&lt;xs:pattern value="(x|i|[A-Za-z]{2,3})(-[A-Za-z0-9]{2,8}){0,}"/&gt;<br><br>		&lt;/xs:restriction&gt;<br><br>	&lt;/xs:simpleType&gt;<br><br><br><br>&lt;xs:simpleType name="namesOSIS"&gt;<br><br>	&lt;xs:annotation&gt;<br><br>		&lt;xs:documentation&gt;<br><br>			&lt;p&gt;Enumerated list of name types c
ommonly found in biblical texts.&lt;/p&gt;<br><br>			&lt;p&gt;The attribute nonhuman was inserted to allow the marking of names that are not encoded with the element divineName. The divineName element was introduced to treat name occurences that are treated differently, i.e., the setting of Lord in small caps, to represent a name in the original text. Rather than attempt to enumerate all the varying traditions for such practices, the divineName element simply recognizes it and allows encoders to follow that practice (or not) as they desire.&lt;/p&gt;<br><br>		&lt;/xs:documentation&gt;<br><br>	&lt;/xs:annotation&gt;<br><br>	&lt;xs:restriction base="xs:string"&gt;<br><br>		&lt;xs:enumeration value="geographic"/&gt;<br><br>		&lt;xs:enumeration value="holiday"/&gt;<br><br>		&lt;xs:enumeration value="nonhuman"/&gt;<br><br>		&lt;xs:enumeration value="person"/&gt;<br><br>		&lt;xs:enumeration value="ritual"/&gt;<br><br>	&lt;/xs:restriction&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br
><br>&lt;xs:simpleType name="nameType"&gt;<br><br>	&lt;xs:union memberTypes="namesOSIS attributeExtension"/&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br>&lt;xs:simpleType name="notesOSIS"&gt;<br><br>	&lt;xs:restriction base="xs:string"&gt;<br><br>		&lt;xs:enumeration value="allusion"/&gt;<br><br>		&lt;xs:enumeration value="alternative"/&gt;<br><br>		&lt;xs:enumeration value="background"/&gt;<br><br>		&lt;xs:enumeration value="citation"/&gt;<br><br>		&lt;xs:enumeration value="devotional"/&gt;<br><br>		&lt;xs:enumeration value="exegesis"/&gt;<br><br>		&lt;xs:enumeration value="explanation"/&gt;<br><br>		&lt;xs:enumeration value="study"/&gt;<br><br>		&lt;xs:enumeration value="translation"/&gt;<br><br>		&lt;xs:enumeration value="variant"/&gt;<br><br>	&lt;/xs:restriction&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br>&lt;xs:simpleType name="noteType"&gt;<br><br>	&lt;xs:union memberTypes="notesOSIS attributeExtension"/&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br><br><br>
&lt;!-- query to Steve, shouldn't grain do the duty of range? Can be character count but also other meaningful (in the reference system) grain? --&gt;<br><br><br><br>&lt;xs:simpleType name="osisGrain"&gt;<br><br>	       &lt;xs:restriction base="xs:string"&gt;<br><br>		  &lt;xs:pattern value="(char:(\p{Nd}*)\+(\p{Nd}*)\(([^\s]*)\) | ([^\s]*))"/&gt;<br><br>	       &lt;/xs:restriction&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br><br><br>&lt;xs:simpleType name="osisRef"&gt;<br><br>	&lt;xs:restriction base="xs:string"&gt;<br><br>		&lt;xs:pattern value="(([^\s]*\.)?([^\s]*\.)?([^\s]*\.)?([^\s]*\.)?([^\s]*\.)?([^\s]*)?)"/&gt;<br><br>	&lt;/xs:restriction&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br><br><br><br><br>	&lt;xs:simpleType name="roleOSIS"&gt;<br><br>		&lt;xs:annotation&gt;<br><br>			&lt;xs:documentation&gt;<br><br>				&lt;p&gt;This is a selected set of the most common role names likely to be needed for basic encoding. The full set of relator codes on which this list
ing (and the descriptions are based, was taken from: MARC Code List: Relator Codes -- Term Sequence (<a class="moz-txt-link-freetext" href="http://lcweb.loc.gov/marc/relators/re0002r1.html">http://lcweb.loc.gov/marc/relators/re0002r1.html</a>). This listing will be followed for later OSIS modules.&lt;/p&gt;<br><br>			&lt;/xs:documentation&gt;<br><br>		&lt;/xs:annotation&gt;<br><br>		&lt;xs:restriction base="xs:string"&gt;<br><br>			&lt;xs:enumeration value="adp"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Adapter: Use for a person who 1) reworks a musical composition,usually for a different medium, or 2) rewrites novels or stories for motionpictures or other audiovisual medium.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="ann"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Annotator: Use for a person who writes manuscript annotations on a 
printed item.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="art"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Artist: Use for a person (e.g., a painter) who conceives, and perhaps also implements, an original graphic design or work of art, &lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="aut"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Author: Use for a person or corporate body chiefly responsiblefor the intellectual or artistic content of a work, usually printed text.  This term may also be used when more than one person or body bears such responsibility.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="aqt"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt
;Author in quotations or text extracts: Use for a person whose work is largely quoted or extracted in a works to which he or she did not contribute directly.  Such quotations are found particularly in exhibition catalogs, collections of photographs, etc.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="aft"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Author of afterword, colophon, etc.: Use for a person or corporate body responsible for an afterword, postface, colophon, etc. but who isnot the chief author of a work.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="aui"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Author of introduction, etc.: Use for a person or corporate body responsible for an introduction, preface, foreword, or other critical introductory matt
er, but who is not the chief author.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="bnd"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Binder: &lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="bdd"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Binding designer:  Designer of binding&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="bkd"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Book designer: Use for the person or firm responsible for the entire graphic design of a book, including arrangement of type and illustration,choice of materials, and process used.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			
&lt;xs:enumeration value="bkp"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Book producer: Use for the person or firm responsible for the production of books and other print media, if specific codes&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="bjd"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Bookjacket designer:  Designer of bookjacket&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="bpd"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Bookplate designer: Designer of bookplate&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="ctg"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Cartographer: &lt;/xs:documentation&gt;<br><br>				&lt;
/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="clb"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Collaborator: Use for a person or corporate body that takes a limited part in the elaboration of a work of another person or corporate body that brings complements (e.g., appendices, notes) to the work.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="cmm"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Commentator: Use for a person who provides interpretation, analysis,or a discussion of the subject matter on a recording, motion picture, or other audiovisual medium.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="cwt"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Commentator for written text: Use for a
 person or corporate body responsible for the commentary or explanatory notes about a text.  For the writer of manuscript annotations in a printed book, use Annotator&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="com"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Compiler: Use for a person who produces a work or publication by selecting and putting together material from the works of various persons or bodies.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="ctb"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Contributor: Use for one whose work has been contributed to a larger work, such as an anthology, serial publication, or other compilation of individual works. Do not use for someone whose sole function in relation to a work is as author, editor, compiler or t
ranslator.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="cre"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Creator: Use for a person or corporate body responsible for the intellectual or artistic content of a work.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="edt"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Editor: Use for a person who prepares for publication a work not primarily his/her own, such as by elucidating text, adding introductory or other critical matter, or technically directing an editorial staff.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="ilu"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Illuminator: &lt;/xs:documentation&gt;<br>
<br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="ill"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Illustrator: Use for the person who conceives, and perhaps also implements, a design or illustration, usually to accompany a written text.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="pbl"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Publisher: &lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>			&lt;xs:enumeration value="trl"&gt;<br><br>				&lt;xs:annotation&gt;<br><br>					&lt;xs:documentation&gt;Translator: Use for a person who renders a text from one language into another, or from an older form of a language into the modern form.&lt;/xs:documentation&gt;<br><br>				&lt;/xs:annotation&gt;<br><br>			&lt;/xs:enumeration&gt;<br><br>		&lt;/x
s:restriction&gt;<br><br>	&lt;/xs:simpleType&gt;<br><br><br><br>&lt;xs:simpleType name="roleType"&gt;<br><br>	&lt;xs:union memberTypes="roleOSIS attributeExtension"/&gt;<br><br>&lt;/xs:simpleType&gt;<br><br><br><br>&lt;/xs:schema&gt;</pre>
  </blockquote>
  <br>
  <pre class="moz-signature" cols="$mailwrapcol">-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
<a class="moz-txt-link-abbreviated" href="mailto:pdurusau@emory.edu">pdurusau@emory.edu</a></pre>
  <br>
  </body>
  </html>

--------------020104050808000304010405--