MapInfo TAB File

Example

This is an example of a named table definition with a named connection for a MapInfo TAB file.


<?xml version="1.0" encoding="utf-8"?>
<NamedDataSourceDefinition version="MXP_NamedResource_1_5" xmlns="http://www.mapinfo.com/mxp">
     <ConnectionSet>
           <NamedConnectionRef resourceID="/Samples/NamedConnections/myTABConnection">
                <ConnectionName>connection1</ConnectionName>
           </NamedConnectionRef>
     </ConnectionSet>
     <DataSourceDefinitionSet>
           <TABFileDataSourceDefinition id="id1" readOnly="true" volatile="true">
                <DataSourceName>WorldTable</DataSourceName>
                <ConnectionMember>
                     <ConnectionName>connection1</ConnectionName>
                </ConnectionMember>
                <FileName>world.tab</FileName>
           </TABFileDataSourceDefinition>
     </DataSourceDefinitionSet>
     <DataSourceRef ref="id1"/>
</NamedDataSourceDefinition>