tsd:map

Purpose This element contains mapping information, i.e. physical storage information, for use in conjunction with Tamino X-Node. The tsd:subTreeAdabas, tsd:subTreeAdabasPE and tsd:nodeAdabasField child elements provide support for the mapping of Adabas files and fields; the tsd:subTreeSQL, and tsd:nodeSQL child elements similarly provide support for the mapping of SQL tables and columns via the ODBC interface; and the tsd:ignoreUpdate child element sets read-only or read-write permissions on elements. The tsd:pure child elements allows you to define a pure mapping instead of the default hybrid mapping.
Parent element tsd:physical
Child elements tsd:subTreeAdabas, tsd:subTreeAdabasPE, tsd:nodeAdabasField, tsd:subTreeSQL, tsd:nodeSQL, tsd:xTension, tsd:ignoreUpdate, tsd:pure
Attributes None
Restrictions tsd:subTreeAdabas, tsd:subTreeAdabasPE and tsd:subTreeSQL are only valid if the tsd:map element is a descendant element of a tsd:elementInfo element.

Example

This example shows a tsd:map element for mapping data to a table "p_table" within an SQL database that is accessible via ODBC as ODBC datasource "p_datasource" with the user ID "p_userid" and the password "p_password":

<tsd:map>
  <tsd:subTreeSQL schema = "p_schema"
                  table = "p_table"
                  userid = "p_userid"
                  password = "p_password"
                  datasource = "p_datasource">
  </tsd:subTreeSQL>
  <tsd:ignoreUpdate/>
</tsd:map>