<?xml version="1.0" encoding="UTF-8"?>

<!-- this is a test file -->
<!-- this is a test file -->
<!-- this is a test file -->

<root xmlns:cals="http://www.someplace.org/cals"
      xmlns:c="http://www.someplace.org/cals">

    <c:table cdx="vertical">
        <c:tgroup cols="3">
            <c:thead>
                <c:row>
                    <c:entry>alpha</c:entry>
                    <c:entry>beta</c:entry>
                    <c:entry>gamma</c:entry>
                </c:row>
            </c:thead>
            <c:tbody>
                <c:row>
                    <c:entry>one</c:entry>
                    <c:entry>two</c:entry>
                    <c:entry>three</c:entry>
                </c:row>
                <c:row>
                    <c:entry>four</c:entry>
                    <c:entry>five</c:entry>
                    <c:entry>six</c:entry>
                </c:row>
            </c:tbody>
        </c:tgroup>
    </c:table>

    <c:table cdx="horizontal">
        <c:tgroup cols="3">
            <c:thead>
                <c:row>
                    <c:entry>alpha</c:entry>
                    <c:entry>beta</c:entry>
                    <c:entry>gamma</c:entry>
                </c:row>
            </c:thead>
            <c:tbody>
                <c:row>
                    <c:entry>one</c:entry>
                    <c:entry>two</c:entry>
                    <c:entry>three</c:entry>
                </c:row>
                <c:row>
                    <c:entry>four</c:entry>
                    <c:entry>five</c:entry>
                    <c:entry>six</c:entry>
                </c:row>
            </c:tbody>
        </c:tgroup>
    </c:table>

    <c:table cdx="frame">
        <c:tgroup cols="3">
            <c:thead>
                <c:row>
                    <c:entry>alpha</c:entry>
                    <c:entry>beta</c:entry>
                    <c:entry>gamma</c:entry>
                </c:row>
            </c:thead>
            <c:tbody>
                <c:row>
                    <c:entry>one</c:entry>
                    <c:entry>two</c:entry>
                    <c:entry>three</c:entry>
                </c:row>
                <c:row>
                    <c:entry>four</c:entry>
                    <c:entry>five</c:entry>
                    <c:entry>six</c:entry>
                </c:row>
            </c:tbody>
        </c:tgroup>
    </c:table>

    <c:table cdx="colors">
        <c:tgroup cols="3">
            <c:colspec colnum="1" colwidth="4cm" colname="first"/>
            <c:colspec colnum="2" colname="second"/>
            <c:thead>
                <c:row>
                    <c:entry>alpha</c:entry>
                    <c:entry>beta</c:entry>
                    <c:entry>gamma</c:entry>
                </c:row>
            </c:thead>
            <c:tbody>
                <c:row>
                    <c:entry>one</c:entry>
                    <c:entry>two</c:entry>
                    <c:entry>three</c:entry>
                </c:row>
                <c:row>
                    <c:entry namest="first" nameend="second">four</c:entry>
                    <c:entry>five</c:entry>
                </c:row>
            </c:tbody>
        </c:tgroup>
    </c:table>

    <cals:table cdx="noframe">
        <cals:tgroup cols="2">
            <cals:colspec colnum="1" colwidth="4cm" colname="first"/>
            <cals:colspec colnum="2" colname="second"/>
            <cals:thead>
                <cals:colspec colnum="1" colwidth="2cm"/>
                <cals:row>
                    <cals:entry>alpha</cals:entry>
                    <cals:entry>beta</cals:entry>
                    <cals:entry>gamma</cals:entry>
                </cals:row>
            </cals:thead>
            <cals:tbody>
                <cals:colspec colnum="1" colwidth="2cm"/>
                <cals:row>
                    <cals:entry>one</cals:entry>
                    <cals:entry>two</cals:entry>
                    <cals:entry>three</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry namest="first" nameend="second">four</cals:entry>
                    <cals:entry>five</cals:entry>
                </cals:row>
            </cals:tbody>
        </cals:tgroup>
    </cals:table>

    <cls:table xmlns:cls="http://www.hereorthere.com/cals" id="200">
        <cls:tgroup cols="2">
            <cls:colspec colnum="1" colwidth="4cm" colname="first"/>
            <cls:colspec colnum="2" colname="second"/>
            <cls:spanspec colname="myspan" namest="first" nameend="second"/>
            <cls:thead>
                <cls:row>
                    <cls:entry>alpha</cls:entry>
                    <cls:entry>beta</cls:entry>
                    <cls:entry>gamma</cls:entry>
                </cls:row>
            </cls:thead>
            <cls:tbody>
                <cls:row>
                    <cls:entry>one</cls:entry>
                    <cls:entry morerows='1'>two</cls:entry>
                    <cls:entry>three</cls:entry>
                </cls:row>
                <cls:row>
                    <cls:entry>one</cls:entry>
                    <cls:entry>three</cls:entry>
                </cls:row>
                <cls:row align="center">
                    <cls:entry>4m</cls:entry>
                    <cls:entry>5m</cls:entry>
                </cls:row>
            </cls:tbody>
        </cls:tgroup>
    </cls:table>

    <table xmlns="http://www.nowhere.org/cals" id="300">
        <tgroup cols="2">
            <tbody>
                <row>
                    <entry>alpha</entry>
                    <entrytbl id="400">
                        <tgroup cols="2">
                            <tbody>
                                <row>
                                    <entry align='middle'>one</entry>
                                    <entry>three</entry>
                                </row>
                                <row>
                                    <entry align='left'>4</entry>
                                    <entry align='right'>5</entry>
                                </row>
                            </tbody>
                        </tgroup>
                    </entrytbl>
                </row>
                <row>
                    <entry>one</entry>
                    <entry>two</entry>
                </row>
            </tbody>
        </tgroup>
    </table>

    <cals:table id="ex.calstable" frame='all'>
        <cals:title>Cals tabel 3 met kolommen: header + footer + 3 rijen </cals:title>
        <cals:tgroup cols='3' align='left' colsep='1' rowsep='1'>
            <cals:colspec colname='c1'/>
            <cals:colspec colname='c2'/>
            <cals:colspec colname='c3'/>
            <cals:thead>
                <cals:row>
                    <cals:entry>h1</cals:entry>
                    <cals:entry>h2</cals:entry>
                    <cals:entry>h3</cals:entry>
                </cals:row>
            </cals:thead>
            <cals:tfoot>
                <cals:row>
                    <cals:entry>f1</cals:entry>
                    <cals:entry>f2</cals:entry>
                    <cals:entry>f3</cals:entry>
                </cals:row>
            </cals:tfoot>
            <cals:tbody>
                <cals:row>
                    <cals:entry>a1</cals:entry>
                    <cals:entry>a2</cals:entry>
                    <cals:entry>a3</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry>b1</cals:entry>
                    <cals:entry>b2</cals:entry>
                    <cals:entry>b3</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry>c1</cals:entry>
                    <cals:entry>c2</cals:entry>
                    <cals:entry>c3</cals:entry>
                </cals:row>
            </cals:tbody>
        </cals:tgroup>
    </cals:table>

    <cals:table id="ex.calstable" frame='all'>
        <cals:title>Cals tabel 4 met kolommen: header + footer + 3 rijen </cals:title>
        <cals:tgroup cols='4' align='left' colsep='1' rowsep='1'>
            <cals:colspec colnum='1' colname='c1'/>
            <cals:colspec colnum='2' colname='c2'/>
            <cals:colspec colnum='3' colname='c3'/>
            <cals:colspec colnum='4' colname='c4'/>
            <cals:thead>
                <cals:row>
                    <cals:entry>h1</cals:entry>
                    <cals:entry>h2</cals:entry>
                    <cals:entry>h3</cals:entry>
                    <cals:entry>h4</cals:entry>
                </cals:row>
            </cals:thead>
            <cals:tfoot>
                <cals:row>
                    <cals:entry>f1</cals:entry>
                    <cals:entry>f2</cals:entry>
                    <cals:entry>f3</cals:entry>
                    <cals:entry>f4</cals:entry>
                </cals:row>
            </cals:tfoot>
            <cals:tbody>
                <cals:row>
                    <cals:entry>a1</cals:entry>
                    <cals:entry>a2</cals:entry>
                    <cals:entry>a3</cals:entry>
                    <cals:entry>a4</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry>b1</cals:entry>
                    <cals:entry>b2</cals:entry>
                    <cals:entry>b3</cals:entry>
                    <cals:entry>b4</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry>c1</cals:entry>
                    <cals:entry>c2</cals:entry>
                    <cals:entry>c3</cals:entry>
                    <cals:entry>c4</cals:entry>
                </cals:row>
            </cals:tbody>
        </cals:tgroup>
    </cals:table>

    <cals:table id="ex.calstable" frame='all'>
        <cals:title>Cals tabel 3 met kolommen: horizontal span</cals:title>
        <cals:tgroup cols='3' align='left' colsep='1' rowsep='1'>
            <cals:colspec colnum='1' colname='c1'/>
            <cals:colspec colnum='2' colname='c2'/>
            <cals:colspec colnum='3' colname='c3'/>
            <cals:thead>
                <cals:row>
                    <cals:entry>h1</cals:entry>
                    <cals:entry>h2</cals:entry>
                    <cals:entry>h3</cals:entry>
                </cals:row>
            </cals:thead>
            <cals:tfoot>
                <cals:row>
                    <cals:entry>f1</cals:entry>
                    <cals:entry>f2</cals:entry>
                    <cals:entry>f3</cals:entry>
                </cals:row>
            </cals:tfoot>
            <cals:tbody>
                <cals:row>
                    <cals:entry>a1</cals:entry>
                    <cals:entry>a2</cals:entry>
                    <cals:entry>a3</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry namest="c1" nameend="c2" align="center">hs</cals:entry>
                    <!-- cals:entry>b2: weg in verband met horizontale span</cals:entry -->
                    <cals:entry>b3</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry>c1</cals:entry>
                    <cals:entry>c2</cals:entry>
                    <cals:entry>c3</cals:entry>
                </cals:row>
            </cals:tbody>
        </cals:tgroup>
    </cals:table>

    <cals:table id="ex.calstable" frame='all'>
        <cals:title>Cals tabel 3 met kolommen: verticale span</cals:title>
        <cals:tgroup cols='3' align='left' colsep='1' rowsep='1'>
            <cals:colspec colnum='1' colname='c1'/>
            <cals:colspec colnum='2' colname='c2'/>
            <cals:colspec colnum='3' colname='c3'/>
            <cals:thead>
                <cals:row>
                    <cals:entry>h1</cals:entry>
                    <cals:entry>h2</cals:entry>
                    <cals:entry>h3</cals:entry>
                </cals:row>
            </cals:thead>
            <cals:tfoot>
                <cals:row>
                    <cals:entry>f1</cals:entry>
                    <cals:entry>f2</cals:entry>
                    <cals:entry>f3</cals:entry>
                </cals:row>
            </cals:tfoot>
            <cals:tbody>
                <cals:row>
                    <cals:entry>a1</cals:entry>
                    <cals:entry>a2</cals:entry>
                    <cals:entry>a3</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry>b1</cals:entry>
                    <cals:entry>b2</cals:entry>
                    <cals:entry morerows='1' valign='middle'><p>vs</p></cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry>c1</cals:entry>
                    <cals:entry>c2</cals:entry>
                    <!-- cals:entry>c3: weg in verband met verticale span</cals:entry-->
                </cals:row>
            </cals:tbody>
        </cals:tgroup>
    </cals:table>

    <cals:table id="ex.calstable" frame='all'>
        <cals:title>Cals tabel 3 met kolommen: verticale en horizontale span</cals:title>
        <cals:tgroup cols='3' align='left' colsep='1' rowsep='1'>
            <cals:colspec colnum='1' colname='c1'/>
            <cals:colspec colnum='2' colname='c2'/>
            <cals:colspec colnum='3' colname='c3'/>
            <cals:thead>
                <cals:row>
                    <cals:entry>h1</cals:entry>
                    <cals:entry>h2</cals:entry>
                    <cals:entry>h3</cals:entry>
                </cals:row>
            </cals:thead>
            <cals:tfoot>
                <cals:row>
                    <cals:entry>f1</cals:entry>
                    <cals:entry>f2</cals:entry>
                    <cals:entry>f3</cals:entry>
                </cals:row>
            </cals:tfoot>
            <cals:tbody>
                <cals:row>
                    <cals:entry>a1</cals:entry>
                    <cals:entry>a2</cals:entry>
                    <cals:entry>a3</cals:entry>
                </cals:row>
                <cals:row>
                    <cals:entry>b1</cals:entry>
                    <cals:entry namest="c1" nameend="c2" align="center" morerows='1' valign='bottom'>vh</cals:entry>
                    <!-- cals:entry>b3: weg in verband met verticale en horizontale span</cals:entry-->
                </cals:row>
                <cals:row>
                    <cals:entry>c1</cals:entry>
                    <!-- cals:entry>c2: weg in verband met verticale en horizontale span</cals:entry-->
                    <!-- cals:entry>c3: weg in verband met verticale en horizontale span</cals:entry-->
                </cals:row>
            </cals:tbody>
        </cals:tgroup>
    </cals:table>

                        <cals:table frame="all">
                            <cals:tgroup cols="8">
                                <cals:colspec colnum="1" colname="col1" colwidth="115.3pt"/>
                                <cals:colspec colnum="2" colname="col2" colwidth="62.1pt"/>
                                <cals:colspec colnum="3" colname="col3" colwidth="63.3pt"/>
                                <cals:colspec colnum="4" colname="col4" colwidth="41.4pt"/>
                                <cals:colspec colnum="5" colname="col5" colwidth="41.4pt"/>
                                <cals:colspec colnum="6" colname="col6" colwidth="41.4pt"/>
                                <cals:colspec colnum="7" colname="col7" colwidth="41.4pt"/>
                                <cals:colspec colnum="8" colname="col8" colwidth="41.3pt"/>
                                <cals:tbody>
                                    <cals:row>
                                        <cals:entry colname="col1" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>Grootheid</p>
                                        </cals:entry>
                                        <cals:entry colname="col2" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>Eenheid</p>
                                        </cals:entry>
                                        <cals:entry colname="col3" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>Symbool</p>
                                        </cals:entry>
                                        <cals:entry colname="col4" namest="col4" nameend="col8"
                                            colsep="yes" rowsep="yes" valign="top">
                                            <p>Meetwaarden</p>
                                        </cals:entry>
                                    </cals:row>
                                    <cals:row>
                                        <cals:entry colname="col1" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>massa</p>
                                        </cals:entry>
                                        <cals:entry colname="col2" colsep="yes" rowsep="yes"
                                            valign="top"/>
                                        <cals:entry colname="col3" colsep="yes" rowsep="yes"
                                            valign="top"/>
                                        <cals:entry colname="col4" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>125</p>
                                        </cals:entry>
                                        <cals:entry colname="col5" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>195</p>
                                        </cals:entry>
                                        <cals:entry colname="col6" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>280</p>
                                        </cals:entry>
                                        <cals:entry colname="col7" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>380</p>
                                        </cals:entry>
                                        <cals:entry colname="col8" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>500</p>
                                        </cals:entry>
                                    </cals:row>
                                    <cals:row>
                                        <cals:entry colname="col1" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>volume</p>
                                        </cals:entry>
                                        <cals:entry colname="col2" colsep="yes" rowsep="yes"
                                            valign="top"/>
                                        <cals:entry colname="col3" colsep="yes" rowsep="yes"
                                            valign="top"/>
                                        <cals:entry colname="col4" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>16</p>
                                        </cals:entry>
                                        <cals:entry colname="col5" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>25</p>
                                        </cals:entry>
                                        <cals:entry colname="col6" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>36</p>
                                        </cals:entry>
                                        <cals:entry colname="col7" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>49</p>
                                        </cals:entry>
                                        <cals:entry colname="col8" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>64</p>
                                        </cals:entry>
                                    </cals:row>
                                    <cals:row>
                                        <cals:entry colname="col1" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>dichtheid</p>
                                        </cals:entry>
                                        <cals:entry colname="col2" colsep="yes" rowsep="yes"
                                            valign="top"/>
                                        <cals:entry colname="col3" colsep="yes" rowsep="yes"
                                            valign="top"/>
                                        <cals:entry colname="col4" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>7,8 </p>
                                        </cals:entry>
                                        <cals:entry colname="col5" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>7,8 </p>
                                        </cals:entry>
                                        <cals:entry colname="col6" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>7,8 </p>
                                        </cals:entry>
                                        <cals:entry colname="col7" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>7,8</p>
                                        </cals:entry>
                                        <cals:entry colname="col8" colsep="yes" rowsep="yes"
                                            valign="top">
                                            <p>7,8 </p>
                                        </cals:entry>
                                    </cals:row>
                                </cals:tbody>
                            </cals:tgroup>
                        </cals:table>


</root>
