<table>
<table> 以表格形式呈現、包含在直行橫列中的文字內容。 14.1.1 TEI Tables | |||||||||||||||||
組件 | figures — 14 Tables, Formulæ, and Graphics | ||||||||||||||||
除全域屬性以外 |
|
||||||||||||||||
屬於 | |||||||||||||||||
可包含 | |||||||||||||||||
宣告 |
element table { att.global.attributes, attribute rows { data.count }?, attribute cols { data.count }?, ( ( model.headLike | model.global )*, ( row, model.global* )+ ) } |
||||||||||||||||
例子 |
<table rows="4" cols="4">
<head>台北飯店提供住房數目(2008年雙十國慶 )</head> <row role="label"> <cell role="data"/> <cell role="data">經濟客房</cell> <cell role="data">標準客房</cell> <cell role="data">高級客房</cell> </row> <row role="data"> <cell role="label">圓山大飯店</cell> <cell role="data">203</cell> <cell role="data">168</cell> <cell role="data">66</cell> </row> <row role="data"> <cell role="label">凱撒大飯店</cell> <cell role="data">216</cell> <cell role="data">140</cell> <cell role="data">32</cell> </row> <row role="data"> <cell role="label">喜來登大飯店</cell> <cell role="data">197</cell> <cell role="data">160</cell> <cell role="data">50</cell> </row> <row role="data"> <cell role="label">君悅大飯店</cell> <cell role="data">177</cell> <cell role="data">130</cell> <cell role="data">22</cell> </row> </table> |