<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.digitalmedievalist.org/wiki/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Tei:table - Revision history</title>
		<link>http://www.digitalmedievalist.org/wiki/index.php?title=Tei:table&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.5-2squeeze1</generator>
		<lastBuildDate>Fri, 24 May 2013 08:52:02 GMT</lastBuildDate>
		<item>
			<title>DominiqueS:&amp;#32;Created page with &quot;Category:TEI_(Text_Encoding_Initiative)  Category:How do I encode...  '''tei:table (table)''' &quot;contains text displayed in tabular form, in rows and columns&quot; (http://www.t…&quot;</title>
			<link>http://www.digitalmedievalist.org/wiki/index.php?title=Tei:table&amp;diff=103&amp;oldid=prev</link>
			<guid>http://www.digitalmedievalist.org/wiki/index.php?title=Tei:table&amp;diff=103&amp;oldid=prev</guid>
			<description>&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php/Category:TEI_(Text_Encoding_Initiative)&quot; title=&quot;Category:TEI (Text Encoding Initiative)&quot;&gt;Category:TEI_(Text_Encoding_Initiative)&lt;/a&gt;  &lt;a href=&quot;/wiki/index.php/Category:How_do_I_encode...&quot; title=&quot;Category:How do I encode...&quot;&gt;Category:How do I encode...&lt;/a&gt;  &amp;#39;&amp;#39;&amp;#39;tei:table (table)&amp;#39;&amp;#39;&amp;#39; &amp;quot;contains text displayed in tabular form, in rows and columns&amp;quot; (http://www.t…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:TEI_(Text_Encoding_Initiative)]] &lt;br /&gt;
[[Category:How do I encode...]]&lt;br /&gt;
&lt;br /&gt;
'''tei:table (table)''' &amp;quot;contains text displayed in tabular form, in rows and columns&amp;quot; (http://www.tei-c.org/P4X/ref-TABLE.html). The tei:table element contains [[rows]] made up of [[cells]].&lt;br /&gt;
&lt;br /&gt;
For a general discussion of how to encode tables in a variety of structural languages, see [[Table]] (part of the [[:Category:How_do_I_encode...]] [[:Category:DMBinders | Binder]]). For a complete discussion of the tei element, see the relevant sections of the [http://www.tei-c.org/P4X/ TEI P4 guidelines], http://www.tei-c.org/P4X/.&lt;br /&gt;
&lt;br /&gt;
Tables '''never''' should be used in any [[structural language]] to position non-tabular material (e.g. multiple columns of text) on the page. Such layout can and should be handled by [[style sheets]].&lt;br /&gt;
&lt;br /&gt;
==Subclasses and attributes==&lt;br /&gt;
&lt;br /&gt;
There are no required [[attributes]] or subclasses.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@type&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;@rend&amp;lt;/code&amp;gt; may be used to distinguish among different types of tables, e.g.&lt;br /&gt;
&lt;br /&gt;
 rend=&amp;quot;wide&amp;quot;&lt;br /&gt;
 rend=&amp;quot;tall&amp;quot;&lt;br /&gt;
 rend=&amp;quot;border&amp;quot;&lt;br /&gt;
&lt;br /&gt;
See the [http://www.tei-c.org/P4X/ref-TABLE.html TEI Guidelines] for a discussion of available [[attributes]].&lt;br /&gt;
&lt;br /&gt;
==Style==&lt;br /&gt;
&lt;br /&gt;
Tables may be formatted a number of ways depending on their nature and type:&lt;br /&gt;
&lt;br /&gt;
* With or without border lines.&lt;br /&gt;
* With cells, rows, or columns of different background colors.&lt;br /&gt;
* With some cells in borders.&lt;br /&gt;
&lt;br /&gt;
===CSS===&lt;br /&gt;
&lt;br /&gt;
If you are attempting to display a TEI XML document directly in a commercial browser, the following CSS fragments can be used to style the element:&lt;br /&gt;
&lt;br /&gt;
====Basic====&lt;br /&gt;
&lt;br /&gt;
 table {&lt;br /&gt;
   display:table;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
This assumes the table is to appear as a [[block]] element (similar to a paragraph). Tables used in-line should have their &amp;lt;code&amp;gt;@display&amp;lt;/code&amp;gt; set to &amp;lt;code&amp;gt;inline-table&amp;lt;/code&amp;gt;. The table has no borders.&lt;br /&gt;
&lt;br /&gt;
====With thin single borders====&lt;br /&gt;
&lt;br /&gt;
The following adds a thin solid border around the table. Setting to border collapse to &amp;lt;code&amp;gt;collapse&amp;lt;/code&amp;gt; ensures that only a single line appears between rows, columns, with borders.&lt;br /&gt;
&lt;br /&gt;
 table {&lt;br /&gt;
   display:table;&lt;br /&gt;
   border: thin solid black;&lt;br /&gt;
   border-collapse: collapse;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
For additional [[CSS]] table styles, see [[Table#CSS | Table[] (part of the [[:Category:How_do_I_encode...]] [[:Category:DMBinder | binder]]).&lt;br /&gt;
&lt;br /&gt;
===XSLT===&lt;br /&gt;
&lt;br /&gt;
====Conversion to XHTML====&lt;br /&gt;
&lt;br /&gt;
If you are going to convert your TEI table to XHTML, the minimal template looks like this&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;xsl:template match=&amp;quot;table&amp;quot;&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;table&amp;amp;gt;&amp;amp;lt;xsl:apply-templates/&amp;amp;gt;&amp;amp;lt;/table&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/xsl:template&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;xsl:template match=&amp;quot;row&amp;quot;&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;tr&amp;amp;gt;&amp;amp;lt;xsl:apply-templates/&amp;amp;gt;&amp;amp;lt;/tr&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/xsl:template&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;xsl:template match=&amp;quot;cell&amp;quot;&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;td&amp;amp;gt;&amp;amp;lt;xsl:apply-templates/&amp;amp;gt;&amp;amp;lt;/td&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/xsl:template&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
CSS styles for this element are as above.&lt;br /&gt;
&lt;br /&gt;
==Related topics==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:How_do_I_encode...]] &amp;amp;gt; [[Table]]&lt;br /&gt;
'''Bold text'''&lt;/div&gt;</description>
			<pubDate>Sun, 19 Feb 2012 14:48:27 GMT</pubDate>			<dc:creator>DominiqueS</dc:creator>			<comments>http://www.digitalmedievalist.org/wiki/index.php/Talk:Tei:table</comments>		</item>
	</channel>
</rss>