• Show convenient version of this site
  • Deutsch
  • English
Contact
Newsletter
  • Products
    • ALS
      • Across Language Server
        • Translation Management
        • Terminology Management
        • Translation Memory
      • Editions
      • Interfaces
    • ATE
      • Across Translator Edition
      • Editions
      • Download
      • Across Account
    • Elanion
      • Overview
      • Login
  • Solutions
    • Customers
      • Enterprises
      • Language Service Providers
      • Translators
    • Industries
      • E-Commerce & Trade
      • Pharmaceuticals & medicine
      • IT & Software
    • Departments
      • Marketing & E-Commerce
      • Technical Documentation
      • Software User Interfaces
  • Services
    • Hosting
    • Training
    • Consulting
  • Partners
    • Language Service Providers
    • Universities
  • Company
    • Across Systems
    • News
    • Events
    • Career
    • Contact
  • Knowledge
    • Blog
    • Video Library
    • Case Studies
    • White Papers
    • Fact Sheets
    • File Formats
    • Expert Features
  • Support
    • Online Help
    • FAQ
    • Support Request
    • Updates
    • New Functions
Schedule Consultation

Mapping of COTI metadata to Across attributes

Depending on how the project was set up in the editorial system, COTI files contain various metadata, e.g. a project name, a subject, or other attributes. To be able to use these metadata in the TMS as well, you can map them to the corresponding Across attributes in the automation properties. In this way, the automation will not only create projects with attributes defined in the selected project settings template, but will also add the mapped attributes.

  • If the project settings template already contains a particular attribute, e.g. Subject, but you manually mapped the metadata Subject from the COTI file, the following applies:
  • If the attribute in Across is defined as a single-value attribute, the attribute value of the manually mapped metadata will be used. The attribute value of the project settings template will be overridden.
  • If the attribute in Across is defined as a multi-value attribute, all attribute values will be used, i.e. those of the project settings template and those of the manually mapped metadata.
  • The following metadata can be mapped or overridden:
  • Workflow
  • Project settings template
  • Reporting Template
  • Project managers
  • Relation
  • Subject
  • User-defined attributes

Example from a COTI file

<?xml version="1.0" encoding="utf-8"?>
<coti version="1.0" level="2" creation-date="2019-02-05T09:04:41Z" creator="SCHEMA ST4" ...>
  <project checkout-date="2019-02-05T09:04:40Z" name="Test Project Metadata">
    <subject>My subject</subject>
    <meta name="AcrossRelationen" value="MyCustomer" />
    <meta name="My custom attribute" value="CU1984" />
    <meta name="Multiattribute" value="Value_1;Value_2;Value_3" />
    <translation name="Test_en-US_zh-CN" source-language="en-US" target-language="zh-CN">
      <translation-file file-ref="translation files\Test.xml" />
    </translation>
  </project>
</coti>

The following overview (based on the example) helps you to understand the XPath principle and create your own XPath addressing.

Subject
COTI metadata
<subject>My subject</subject>
XPath to attribute
/coti/project/subject
Relation
COTI metadata
<meta name="AcrossRelationen" value="MyCustomer" />
XPath to attribute
/coti/project/meta[@name ='AcrossRelationen']/@value
User-defined attributed
COTI metadata
<meta name="My custom attribute" value="CU1984" />
XPath to attribute
/coti/project/meta[@name ='My custom attribute']/@value
User-defined multi-value attribute
COTI metadata
<meta name="Multiattribute" value="Value_1;Value_2;Value_3" />
XPath to attribute
/coti/project/meta[@name ='Multiattribute']/@value
External resources
selfhtml - XPath (German)
W3Schools - XPath (English)
Register for our Newsletter now

Our newsletter provides you with exclusive news about the Across Language Server, often even before the official announcement. The newsletter also provides you with early information on events, webinars, and training sessions.

  • Legal Notice
  • GTC
  • Privacy Statement
  • Cookies
  • info@across.net