<DataSource
    ID="countryDS"
    serverType="sql"
    recordName="country"
    testFileName="/examples/shared/ds/test_data/country.data.xml"
>
    <fields>
        <field name="pk"            type="integer"    hidden="true"            primaryKey="true" />
        <field name="countryCode"   type="text"       title="Code"             required="true"   />
        <field name="countryName"   type="text"       title="Country"          required="true"   />
        <field name="capital"       type="text"       title="Capital"          />
        <field name="government"    type="text"       title="Government"       length="500"      />
        <field name="continent"     type="text"       title="Continent"        >
            <valueMap>
                <value>Europe</value>
                <value>Asia</value>
                <value>North America</value>
                <value>Australia/Oceania</value>
                <value>South America</value>
                <value>Africa</value>
            </valueMap>
        </field>
        <field name="member_g8"     type="boolean"    title="G8"               />
        <field name="independence"  type="date"       title="Nationhood"          />
        <field name="area"          type="float"      title="Area (km&amp;sup2;)" format=",0" />
        <field name="population"    type="integer"    title="Population"          format=",0" />
        <field name="gdp"           type="float"      title="GDP"                 format="&#x00A4;,0.0M" />
        <field name="article"       type="link"       title="Info"                detail="true"    />
    </fields>
</DataSource>
