Listing 1. TMX Defined TMX files are simply XML-formatted data defining elements and attributes for organizing translation data. Here is an example of a TMX file format.

<?xml version="1.0" ?>
<!DOCTYPE tmx SYSTEM "tmx12.dtd">
<!-- Example of TMX document -->
<tmx version="1.2">
   <header
      creationtool="XYZTool"
      creationtoolversion="1.01-023"
      datatype="PlainText"
      segtype="sentence"
      adminlang="en-us"
      srclang="EN"
      o-tmf="ABCTransMem"
      creationdate="19970101T163812Z"
      creationid="ThomasJ"
      changedate="19970314T023401Z"
      changeid="Amity"
      o-encoding="iso-8859-1"
   >
      <note>This is a note at document level.</note>
      <prop type="RTFPreamble">{\rtf1\ansi\tag
         etc...{\fonttbl}</prop>
      <ude name="MacRoman" base="Macintosh">
      <map unicode="#xF8FF" code="#xF0" ent="Apple_logo" 
         subst="[Apple]"/>
      </ude>
   </header>

   <body>
      <tu
         tuid="0001"
         datatype="Text"
         usagecount="2"
         lastusagedate="19970314T023401Z"
      >
         <note>Text of a note at the TU level.</note>
         <prop type="x-Domain">Computing</prop>
         <prop type="x-Project">Pægasus</prop>
         <tuv
            lang="EN"
            creationdate="19970212T153400Z"
            creationid="BobW"
         >
            <seg>data (with a non-standard character: 
               ).</seg>
         </tuv>
            <tuv
               lang="FR-CA"
               creationdate="19970309T021145Z"
               creationid="BobW"
               changedate="19970314T023401Z"
               changeid="ManonD"
            >
               <prop type="Origin">MT</prop>
               <seg>données (avec un caractè
                  re non standard: ).</seg>
            </tuv>
      </tu>
   </body>
</tmx>