[osis-core] Sneak preview on tables

Patrick Durusau osis-core@bibletechnologieswg.org
Thu, 20 Jun 2002 07:26:20 -0400


This is a multi-part message in MIME format.
--------------040807030408080104010601
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Guys,

I have attached the proposed table addition to this post. Basically 
follows the TEI table model except for the different set of elements 
that can occur inside of a cell. Note that I have retained TEI's nesting 
of tables within tables (see under cell).

Going through all the posts from yesterday now. Looks like it may be 
NOON or a little later for the next release. Tomorrow I will try to 
clean up a release (remove all the commented out stuff and revision 
comments) version so we will all have a clean copy to look at over the 
weekend.

Patrick

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


--------------040807030408080104010601
Content-Type: text/plain;
 name="osis_table.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="osis_table.txt"



<xs:element name="table">
	    <xs:complexType>
	    <xs:sequence>
		<xs:element ref="head" minOccurs="0" maxOccurs="1"/>
		<xs:element name="row" minOccurs="1" maxOccurs="unbounded">
			    <xs:complexType>
			    <xs:sequence>
				<xs:element name="cell" minOccurs="1" maxOccurs="unbounded">
					    <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="figure"/>
							     <xs:element ref="foreign"/>
							     <xs:element ref="inscription"/>
							     <xs:element ref="lineGroup"/>
							     <xs:element ref="list"/>
							     <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="signed"/>
							     <xs:element ref="speaker"/>	
							     <xs:element ref="speech"/>
							     <xs:element ref="table"/>
							     <xs:element ref="title"/>
							     <xs:element ref="transChange"/>
							     <xs:element ref="verse"/>
							     <xs:element ref="w"/>
						</xs:choice>
						<xs:attribute name="role" type="table.role" use="optional"/>
						<xs:attributeGroup ref="globalAttributes"/>
						<xs:attribute name="TEIform" fixed="cell"/>
					    </xs:complexType>
				</xs:element>
				<xs:attribute name="role" type="table.role" use="optional"/>
				<xs:attributeGroup ref="globalAttributes"/>
				<xs:attribute name="TEIform" fixed="row"/>
			     </complexType>
		</xs:element>
		<xs:attribute name="rows" type="xs:positiveInteger" use="optional"/>
		<xs:attribute name="cols" type="xs:positiveInteger" use="optional"/>
		<xs:attributeGroup ref="globalAttributes"/>
		<xs:attribute name="TEIform" fixed="table"/>
		</complexType>
</xs:element>


<xs:simpleType name="table.role">
	       <xs:restriction base="xs:string">
		<xs:enumeration value="label"/>
		<xs:enumeration value="data"/>
	       </xs:restriction>
</xs:simpleType>
--------------040807030408080104010601--