microsimulation / ijm-xml

XML files for the International Journal of Microsimulation
MIT License
0 stars 0 forks source link

Lists in Tables #162

Open fred-atherden opened 4 years ago

fred-atherden commented 4 years ago

The following tables in the following articles contain list as a child of table data (td or th):

Please capture these using characters and the break element instead of as a list. There should be no list elements as children of td or th in the IJM corpus.

Example

ijm-00015.xml - Table 1

<table-wrap id="table1" position="float">
    <label>Table 1</label>
    <caption>
        <title>Variable concordance between SDAC98 and 2001 Census</title>
    </caption>
    <table frame="hsides" rules="groups">
        <thead>
            <tr>
                <th>Benchmark variable</th>
                <th>Classes of SDAC98 variables (<italic>bold nos. in brackets are the Census classes that SDAC classes map to</italic>)</th>
                <th>Classes of Census variables (classes in bold map onto SDAC classes)</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Relationship in household</td>
                <td>00 <italic>Not applicable (excluded</italic>)<break/>01 Husband, wife or de facto <bold>(1)</bold>
                    <break/>02 Group household <bold>(5)</bold>
                    <break/>03 Lone parent <bold>(2)</bold>
                    <break/>04 Child under 15 <bold>(7)</bold>
                    <break/>05 Dependent student <bold>(7)</bold>
                    <break/>06 Non-dependent child <bold>(3)</bold>
                    <break/>07 Brother/sister <bold>(4)</bold>
                    <break/>08 Father/mother <bold>(4)</bold>
                    <break/>09 Other related individual <bold>(4)</bold>
                    <break/>10 Unrelated individual living in a family household <bold>(4)</bold>
                    <break/>11 One person <bold>(6)</bold>
                    <break/>
                    <italic>99 non-residents visitor (excluded</italic>)</td>
                <td>
                    <list list-type="simple">
                        <list-item>
                            <label>
                                <bold>1.</bold>
                            </label>
                            <p>
                                <bold>Husband, wife, or partner in de facto marriage</bold>
                            </p>
                        </list-item>
                        <list-item>
                            <label>
                                <bold>2.</bold>
                            </label>
                            <p>
                                <bold>Lone parent</bold>
                            </p>
                        </list-item>
                        <list-item>
                            <label>
                                <bold>3.</bold>
                            </label>
                            <p>
                                <bold>Non-dependent child</bold>
                            </p>
                        </list-item>
                        <list-item>
                            <label>
                                <bold>4.</bold>
                            </label>
                            <p>
                                <bold>Other related or unrelated individual</bold>
                            </p>
                        </list-item>
                        <list-item>
                            <label>
                                <bold>5.</bold>
                            </label>
                            <p>
                                <bold>Group household member</bold>
                            </p>
                        </list-item>
                        <list-item>
                            <label>
                                <bold>6.</bold>
                            </label>
                            <p>
                                <bold>Lone person</bold>
                            </p>
                        </list-item>
                        <list-item>
                            <label>
                                <bold>7.</bold>
                            </label>
                            <p>
                                <bold>Children &lt;15 and student</bold>
                            </p>
                        </list-item>
                        <list-item>
                            <label>
                                <italic>8</italic>.</label>
                            <p>
                                <italic>Not applicable (excluded</italic>)</p>
                        </list-item>
                    </list>
                </td>
            </tr>
            ...
        </tbody>
    </table>
</table-wrap>

Should instead be captured as:

<table-wrap id="table1" position="float">
    <label>Table 1</label>
    <caption>
        <title>Variable concordance between SDAC98 and 2001 Census</title>
    </caption>
    <table frame="hsides" rules="groups">
        <thead>
            <tr>
                <th>Benchmark variable</th>
                <th>Classes of SDAC98 variables (<italic>bold nos. in brackets are the Census classes that SDAC classes map to</italic>)</th>
                <th>Classes of Census variables (classes in bold map onto SDAC classes)</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Relationship in household</td>
                <td>00 <italic>Not applicable (excluded</italic>)<break/>01 Husband, wife or de facto <bold>(1)</bold>
                    <break/>02 Group household <bold>(5)</bold>
                    <break/>03 Lone parent <bold>(2)</bold>
                    <break/>04 Child under 15 <bold>(7)</bold>
                    <break/>05 Dependent student <bold>(7)</bold>
                    <break/>06 Non-dependent child <bold>(3)</bold>
                    <break/>07 Brother/sister <bold>(4)</bold>
                    <break/>08 Father/mother <bold>(4)</bold>
                    <break/>09 Other related individual <bold>(4)</bold>
                    <break/>10 Unrelated individual living in a family household <bold>(4)</bold>
                    <break/>11 One person <bold>(6)</bold>
                    <break/>
                    <italic>99 non-residents visitor (excluded</italic>)</td>
                <td><bold>1. Husband, wife, or partner in de facto marriage</bold><break/>
                    <bold>2. Lone parent</bold><break/>
                    <bold>3. Non-dependent child</bold><break/>
                    <bold>4. Other related or unrelated individual</bold><break/>
                    <bold>5. Group household member</bold><break/>
                    <bold>6. Lone person</bold><break/>
                    <bold>7. Children &lt;15 and student</bold><break/>
                    <italic>8 Not applicable (excluded)</italic>
                </td>
            </tr>
            ...
        </tbody>
    </table>
</table-wrap>