• 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

Display Internal Elements Depending on the Attributes

Document settings templates (DSTs) for Tagged ML enable the processing of internal elements depending on the attributes and attribute values they contain. You can make internal elements editable or display them as a non-editable placeable in crossDesk.

The following instructions demonstrate the procedure for Tagged XML v2.

Example Source File

A simple XML file could have the following structure:

<?xmlversion="1.0"encoding="UTF-8"?><p>The <emphasistype="ProductNumber">12345</emphasis><emphasistype="Product">Across Language Server</emphasis> is our translation management system for enterprises and language service providers. It supports the entire translation process from the project and workflow control to the translation, correction, and release.</p><p>The <emphasistype="ProductNumber">54321</emphasis><emphasistype="Product">Across Translator Edition</emphasis> is our standalone application. It includes the complete range of Across translation features for freelancers.</p>
  • It contains the following elements:
  • <p> as an external element.
  • <emphasis> as an internal element with the type attribute, which in turn can have the value ProductNumber or Product.

In our example, the content of the <emphasis> element with the attribute value ProductNumber is to be displayed as locked (= as a placeable), and the element content with the attribute value Product is to be editable.

Creating and Using Document Settings Templates

Tip

To try out the example, you can create and use your own XML file with the above content.

  1. Proceed as follows to create a DST with the above-mentioned conditions:
  2. In the menu bar of the Across Client, go to Tools > System Settings.
  3. Go to Document Settings > Tagged XML v2.
  4. Click New, enter a name, and click OK to create a new DST.
  5. Click Load and select the example XML file in order to load all elements of the file into the DST.
  6. Select the emphasis element and click Edit.
  7. In the element properties, select the element type Internal and the element type setting Conditional.
  8. Next to Conditional, click Settings.
  9. In the Element Conditions, click Add. In the Condition Properties, click Add Attribute.
  10. Select the type attribute and enter the attribute value ProductNumber.
  11. In the Condition Properties below, select the value Placeable and click OK.
  12. In the Element Conditions, click Add again. In the Condition Properties, click Add Attribute.
  13. Select the type attribute and enter the attribute value Product.
  14. In the Condition Properties below, select the value Normal and click OK.
  15. Close the Element Conditions.
  16. Click OK to close the Element Properties.
  17. Close the system settings.
  18. Set up a project with the example XML and use the DST you just created.

Result in crossDesk

In crossDesk, the checked-in file looks as follows:

cDesk_source-view_ein-element-zwei-attributwerte

The <emphasis> element with the attribute value ProductNumber is displayed as a placeable; the <emphasis> element with the attribute value Product is editable.

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