Tables are a bit more complex and you should reference [ DocBook: The Definitive Guide ] to get more information on them. Here is a simple example:
<table frame=all><title>Sample Table</title> <tgroup cols=2 align=left colsep=1 rowsep=1> <thead> <row> <entry>Examples</entry> <entry>What they mean</entry> </row> </thead> <tbody> <row> <entry>s1 == s2</entry> <entry>s1 matches s2</entry> </row> <row> <entry>s1 != s2</entry> <entry>s1 does not match s2</entry> </row> <row> <entry>s1 < s2</entry> <entry>s1 is less than s2</entry> </row> <row> <entry>s1 > s2</entry> <entry>s1 is greater than s2</entry> </row> <row> <entry>-n s1</entry> <entry>s1 is not null (contains one or more characters)</entry> </row> <row> <entry>-z s1</entry> <entry>s1 is null (Does NOT contain any characters)</entry> </row> </tbody> </tgroup> </table> |
And here's the table parsed:
Table 1. Sample Table
Examples | What they mean |
---|---|
s1 == s2 | s1 matches s2 |
s1 != s2 | s1 does not match s2 |
s1 < s2 | s1 is less than s2 |
s1 > s2 | s1 is greater than s2 |
-n s1 | s1 is not null (contains one or more characters) |
-z s1 | s1 is null (Does NOT contain any characters) |