/test/target/ok/table.sgml
http://txt2tags.googlecode.com/ · Unknown · 178 lines · 135 code · 43 blank · 0 comment · 0 complexity · 0d38865af3cb10f1fd6898fd43aaa24a MD5 · raw file
- <!doctype linuxdoc system>
- <article>
- <sect>Simple table<p>
- <table><tabular ca="lll">
- Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
- Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
- Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
- </tabular></table>
- <sect>Simple table + border<p>
- <table><tabular ca="lll">
- Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
- Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
- Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
- </tabular></table>
- <sect>Simple table + heading<p>
- <table><tabular ca="lll">
- Head 1-1<colsep>Head 1-2<colsep>Head 1-3<rowsep>
- Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
- Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
- Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
- </tabular></table>
- <sect>Simple table + heading + border<p>
- <table><tabular ca="lll">
- Head 1-1<colsep>Head 1-2<colsep>Head 1-3<rowsep>
- Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
- Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
- Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
- </tabular></table>
- <sect>Simple table + heading + border + footer<p>
- <table><tabular ca="lll">
- Head 1-1<colsep>Head 1-2<colsep>Head 1-3<rowsep>
- Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
- Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
- Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3<rowsep>
- Foot 1-1<colsep>Foot 1-2<colsep>Foot 1-3
- </tabular></table>
- <sect>Simple table + heading + border + centralized<p>
- <table><tabular ca="lll">
- Head 1-1<colsep>Head 1-2<colsep>Head 1-3<rowsep>
- Cell 1-1<colsep>Cell 1-2<colsep>Cell 1-3<rowsep>
- Cell 2-1<colsep>Cell 2-2<colsep>Cell 2-3<rowsep>
- Cell 3-1<colsep>Cell 3-2<colsep>Cell 3-3
- </tabular></table>
- <sect>Cell alignment<p>
- <table><tabular ca="ll">
- =======<colsep>=======<rowsep>
- <<colsep>><rowsep>
- =<colsep>=<rowsep>
- ><colsep><
- </tabular></table>
- <sect>Heading alignment<p>
- <table><tabular ca="ll">
- =======<colsep>=======<rowsep>
- <<colsep>><rowsep>
- =<colsep>=<rowsep>
- ><colsep><
- </tabular></table>
- <sect>Column span for cells<p>
- <table><tabular ca="llll">
- 1<colsep>2<colsep>3<colsep>4<rowsep>
- 1<colsep>2<colsep>3 + 4<rowsep>
- 1 + 2 + 3<colsep>4<rowsep>
- 1<colsep>2 + 3<colsep>4<rowsep>
- 1 + 2 + 3 + 4
- </tabular></table>
- <sect>Column span for headings<p>
- <table><tabular ca="llll">
- 1<colsep>2<colsep>3<colsep>4<rowsep>
- 1<colsep>2<colsep>3 + 4<rowsep>
- 1 + 2 + 3<colsep>4<rowsep>
- 1<colsep>2 + 3<colsep>4<rowsep>
- 1 + 2 + 3 + 4
- </tabular></table>
- <sect>Cell alignment + column span<p>
- <table><tabular ca="lll">
- =======<colsep>=======<colsep>=======<rowsep>
- <<colsep>=<rowsep>
- =<rowsep>
- =<colsep>>
- </tabular></table>
- <sect>Heading alignment + column span<p>
- <table><tabular ca="lll">
- =======<colsep>=======<colsep>=======<rowsep>
- <<colsep>=<rowsep>
- =<rowsep>
- =<colsep>>
- </tabular></table>
- <sect>Some empty cells<p>
- <table><tabular ca="lllll">
- A<colsep>B<colsep>C<colsep>D<colsep><rowsep>
- F<colsep>G<colsep>H<colsep><colsep>J<rowsep>
- K<colsep>L<colsep><colsep>N<colsep>O<rowsep>
- P<colsep><colsep>R<colsep>S<colsep>T<rowsep>
- <colsep>V<colsep>W<colsep>X<colsep>Y
- </tabular></table>
- <sect>Lines with different number of cells, increase<p>
- <table><tabular ca="l">
- 1<rowsep>
- 1<colsep>2<rowsep>
- 1<colsep>2<colsep>3<rowsep>
- 1<colsep>2<colsep>3<colsep>4<rowsep>
- 1<colsep>2<colsep>3<colsep>4<colsep>5
- </tabular></table>
- <sect>Lines with different number of cells, decrease<p>
- <table><tabular ca="lllll">
- 1<colsep>2<colsep>3<colsep>4<colsep>5<rowsep>
- 1<colsep>2<colsep>3<colsep>4<rowsep>
- 1<colsep>2<colsep>3<rowsep>
- 1<colsep>2<rowsep>
- 1
- </tabular></table>
- <sect>One cell table<p>
- <table><tabular ca="l">
- Cell 1
- </tabular></table>
- <sect>One cell table + border<p>
- <table><tabular ca="l">
- Cell 1
- </tabular></table>
- <sect>One cell table + heading<p>
- <table><tabular ca="l">
- Head 1
- </tabular></table>
- <sect>One cell table + heading + border<p>
- <table><tabular ca="l">
- Head 1
- </tabular></table>
- <sect>Empty lines<p>
- <table><tabular ca="l">
- <rowsep>
- <rowsep>
- </tabular></table>
- <!-- sgml code generated by txt2tags (http://txt2tags.org) -->
- <!-- cmdline: txt2tags -q -\-no-rc -i table.t2t -t sgml -->
- </article>