<config>
  <!-- Config file generated: Tues May 28 15:43:04 PDT 2002 -->
  <!-- By: vlb  cwd: /home/vlb/projex/Perl/SampleCode --> 
  <!-- Command: write_config.pl -S ','  -f ./data/sample0515.dat -->
  <family seq="1" family_id="Sample">
    <info>
      <description>Sample Contact Data</description>
      <source name="Sample">
        <url></url>
      </source>
      <path>./data</path>
      <filename>sample0515.dat</filename>
      <headers>
            Last Name, First Name, Address Line 1, Address Line 2,
            City, State, Zip, Phone, Fax, Mobile, Email, Company
      </headers>
    </info>
    <parser>
      <format>
        <comment_char></comment_char>
        <field_sep>,</field_sep>
        <record_sep></record_sep>
        <skip type="lines">2</skip>
        <read type="until">EOF</read>
      </format>
      <field pos="1"   header="Last Name"
             parse="1" tag=""    />
      <field pos="2"   header="First Name"
             parse="1" tag="first"   />
      <field pos="3"   header="Address Line 1"
             parse="1" tag="address" />
      <field pos="4"   header="Address Line 2"
             parse="0" tag=""        />
      <field pos="5"   header="City"
             parse="1" tag="city"    />
      <field pos="6"   header="State"
             parse="1" tag="state"   />
      <field pos="7"   header="Zip"
             parse="1" tag="zip"     />
      <field pos="8"   header="Phone"
             parse="0" tag=""       />
      <field pos="9"  header="Fax"
             parse="0" tag=""       />
      <field pos="10"  header="Mobile"
             parse="0" tag=""        />
      <field pos="11"  header="Email"
             parse="1" tag="email"   />
      <field pos="12"  header="Company"
             parse="0" tag=""        />
    </parser>
    <loader>
      <table name="contacts">
        <load type="numeric" record_tag="record_id">f_record_id</load>
        <load type="string"  global_tag="family_id">f_family_id</load>
        <load type="string"  field_tag="first">f_first_name</load>
        <load type="string"  field_tag="last">f_last_name</load>
        <load type="string"  field_tag="address">f_address_one</load>
        <load type="string"  field_tag="state">f_state</load>
        <load type="numeric" field_tag="zip">f_zip_code</load>
        <load type="string"  field_tag="email">f_email</load>
      </table>
    </loader>
  </family>
</config>