The TBX (TermBase eXchange) format is the leading standard for open interchange of terminological data. TBX is well-defined XML and supports blind interchange—the importer does not need to contact the data's originator to interpret TBX data. WorldServer offers both import and export of TBX files.
TBX Metadata. The TBX equivalent to a WorldServer term or entry attribute is the data category. WorldServer converts all TBX data categories (transac, admin, descrip, note, and so on) into attributes, where possible. Data category types and values are mapped to the names and values of WorldServer attributes. WorldServer matches the TBX data category names (for example, definition, subjectField) directly to a terminology database attributes' internal API names. Where matching attributes do not exist in WorldServer, you must either create them on the fly or specify that WorldServer ignore them.
Data category values are either plain text or picklist types. The picklist data type maps to a WorldServer selector attribute type. Other data types map to text fields by default. TBX also specifies links and embedded binary data; however, WorldServer does not support these.
The TBX specification does not explicitly identify a date format. Most, but not all, TBX samples use dates of the form YYYY-MM-DDTHH:MM:ss. WorldServer parses the date for such transactional data in this format or a similar format without the hyphens. If WorldServer cannot parse the date, it substitutes the current date and time.
TBX Languages. TBX uses ISO language codes (en, de, fr, and so on) to specify languages, so there is no ambiguity when using language names. However, because it is possible to specify language prefixes without country codes, a language specification can match multiple languages. For example, en can match en_EN, en_US or en_UK. WorldServer offers an appropriate choice of matching languages (en_EN, en_US, or en_UK for lang="en") if there is any country ambiguity.
XCS File. XCS (eXtensible Constraint Specification) is the TBX way of specifying constraints on metadata. It lists languages, data category names and permissible picklist values for a termbase file. In WorldServer terms, XCS lists the languages, attribute names and selector attribute values of a term database. TBX specifies a default XCS file with data category information based on a selection from ISO 12620, which in turn attempts to define a standard list of data category names and definitions. Having a substantial standard list to choose from gives terminology users a common vocabulary, greatly improving interoperability and blind interchange. WorldServer takes advantage of this common vocabulary where possible.