To
build the structure of an XTM:
Create a new XTM or open an existing XTM:
Drag-and-drop the table that you want to import data to from the Database schema panel to the xtm column of the XTM editing panel.

Drag-and drop the elements or attributes to the XTM nodes that you want to map the data to. The xpath statement appears in the xpath column.

When you are finished, click File > Save.
Browse to the folder where you want to store the XTM and type a file name. The file will automatically be saved with the extension .XSL.