• 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
  • Online-Help
  • ATE
  • Project Management
  • Documents
  • Document Settings Templates
  • Creation
  • Configuring a DST for Conditional XML
  • Release Notes v7.0
    • Across v7 15960
    • Across v7 15954
    • Across v7 15934
    • Across v7 15921
    • Across v7 15918
    • Across v7 15911
  • Installation and Administration
    • About Across Translator Edition
    • Installation of the Across Translator Edition
    • Connection to Across Account
    • Activation of the Across Translator Edition
    • Functions of the Across Translator Edition
    • Data Synchronization/Migration of the Across Translator Edition
      • Data Synchronization/Migration of the Translator Edition
      • Data Synchronization with the Offline Client
    • Backing up Data of the Translator Edition
    • Restoring Translator Edition Backups
    • Uninstalling the Across Translator Edition
  • Getting Started
    • Structure and Architecture
      • TMS Functionality
      • Across Support and Across Services
      • Repetitions
    • Basic Decisions
      • Rich Translation Memory
    • Logging in
      • Across Translator Edition
        • Translator Edition Login
        • Logging in to Offline Client
    • crossBoard
      • Dashboard
        • Adding Dashlets
        • Customizing Dashlets
    • Change username/password
    • Confirming and Opening Tasks
    • Internal Communication
      • Message Administration
  • System Management
    • Relations
      • Creation
    • Languages
    • Fonts
    • User settings
      • The "General" Section
        • General
        • crossSearch
          • Customization and Extension
        • Dialog Settings
        • Project Wizard Options
        • Spell-Check
          • Adding a Hunspell Dictionary
        • Fonts
        • Languages
        • Preview
      • crossDesk Area
        • crossTank
        • crossTerm
        • crossView
        • Contrast Formatting
        • Quality Management
        • Source/Context View
        • Target Editor
      • Customizing Shortcut Keys
    • System settings
      • crossTank
      • Quality Management v6.3
        • Configuring the crossTerm Check
      • Quality Management v7.0
        • QM Check with Regular Expressions
      • System Attributes
        • User-Defined Creation
      • Stopwords
      • Tagged HTML
        • The Element Properties Window (Tagged ML)
        • The Attributes Tab (Tagged ML)
        • The Formatting Tab (Tagged ML)
        • Tagged ML Formats – Configuration
      • Tagged SGML
      • Tagged XML
      • Tagged XML v2
        • Conditionally Mapping an XML Element to a Structure Attribute
        • Display Internal Elements Depending on the Attributes
      • Visual XML
      • Word 2000-2003
        • Show/Hide Style Elements
      • Word 2007-2016
      • XLIFF
    • System attributes
  • Project Management
    • Projects
      • Project View
      • Project settings
      • Functions of the Module
      • Project Search
        • Search and Replace
      • Project creation
        • Execution
      • Adding attachements
      • Document and Project Updates
        • Execution
      • Project status
      • Exporting projects
      • Importing projects
      • Duplicating Projects
      • Change workflow
      • Changing Workflows (Several Documents)
    • Documents
      • Adding a document
      • Adding a target language
      • Aligning Existing Translations
        • Execution
        • Manual corrections
        • Intermediate States
      • Document Formats and Programs
        • Supported Windows Document Formats
        • Supported macOS Document Formats
        • Details of Software Localization
      • Locking and Hiding Text
      • Redoing Document Versions
      • Deleting a Document Version
      • Pre-translations
      • Machine Translation
        • Machine Pre-translation
        • Configuration of the Systems
      • Document Settings Templates
        • Creation
          • Configuring a DST for Word
          • Configuring a DST for XML
          • Configuring a DST for Conditional XML
        • DST for Converted Documents
        • Assigning DST
      • Checking out Documents
    • Reports
      • Report Types
    • Quality management
      • QM Criteria
        • QM Criteria (QM v7.0)
        • QM Templates (v7.0)
        • SGML, XML, and XLIFF (QM v6.3)
        • Windows Resources (QM v6.3)
        • .NET Resources (QM v6.3)
        • Display Text (QM v6.3)
      • Manage QM Criteria
      • Integrating QM criteria
      • Expanding the QM Check (QM v7.0)
      • Deactivating QM Criteria
    • The Filter Editor
    • Partitioning
    • Relay Translations
      • Execution
    • Document preparation
    • Term Extraction and Term Translation
      • Term Extraction
    • External Editing of Documents
      • Execution
    • The EN 15038 Standard Workflow
    • The ISO 17100 Standard Workflow
    • Cost Estimates
  • Task Processing
    • Working in crossDesk
      • Using Tags
    • Paragraph States
    • Empty Paragraphs
    • Modes
    • Customizing crossDesk
    • Tasks in Across
      • Concurrently Opening Multiple Tasks
    • Comments
    • Bookmarks
    • Paragraph Numbering
    • Sorting Paragraphs
    • Context View/Source View
    • crossTerm Window in crossDesk
    • crossView
    • Fuzzy search
    • Concordance search
    • crossSearch
    • Spell-check and User Dictionary
    • Pre-translations
    • Store Translations Wizard
    • The Target Editor
      • Adding Translations to crossTank
    • Preview
    • QM Check in crossDesk
    • Search and Replace
    • Correction
      • Correcting Translations
    • Reviews
    • Redelegation to the Translator
    • Quick Translate
      • Translating with Quick Translate
    • Local Data in the Offline Client
  • crossWAN
    • About crossWAN
      • crossWAN Online
      • crossWAN classic
    • Retrieving Tasks
    • Delivering Tasks
  • TM Management
    • The crossTank Manager
    • Adding Translations
    • Editing Translations
    • Changing the Status of Translations
    • Merging Translations
    • Deleting Translations
    • Protecting Translations
    • Searching for Translations
    • Generating a crossTank Summary
    • crossTank Import
    • crossTank Export
      • Exporting translation memories
    • crossTank Maintenance
      • Changing Attributes
  • Terminology Management
    • Concept-Oriented Terminology System
    • Definitions
    • The crossTerm Manager
    • crossTerm settings
    • crossTerm Manager User Interface
    • Searching for Entries/Terms
      • Search Types
        • Term search
        • Fuzzy search
        • Entry search
        • Keyword search in definitions
        • Concordance search
        • Index search
      • Display of Search Suggestions
      • Filters and Filter Sets
        • Creating User-Defined Filters
        • Creating Filter Sets
        • Public and Non-Public Filters and Filter Sets
        • Search Criteria
        • Logical Operators and Groupings
      • Stemming
        • Language Administration
    • Entry and term elements
      • Indexes
        • Index usage
        • Standalone Entries
          • Creation
        • Index Duplicates
        • Index set up
        • Creating bibliographic entries
        • Creating cross-references to bibliographic entries
      • Cross-References
        • Index Cross-References
        • Entry IDs
        • Check
    • Editing Entries/Terms
    • Delete Entries/Term(s)
    • Merging Entries
    • Duplicating Entries
    • Manual correction
    • crossTerm Reports
      • Terminology Reports
      • Entry Reports
    • crossTerm Import
    • crossTerm Export
      • Exporting Terminology
    • crossTerm Data Maintenance
      • Execution
    • crossTerm Web
      • crossTerm Web Suggestion Module
        • Controlling the Access
        • Suggesting terms
        • Further processing of term suggestions
    • crossMining
    • crossSearch
  • Browser-based Work
    • Working Browser-based with crossWeb
      • Login
      • User Settings
        • crossDesk Web
      • My Tasks
    • Translation
      • crossDesk Web
        • Customization
    • Review
      • Review Mode
      • Reviewing Translations
    • External Document Editing
  • Editing of Special Formats
    • HTML Documents
      • Tagged HTML
    • XML Documents
    • SGML Documents
    • FrameMaker Documents
    • Word Documents
    • TXT Documents
    • Excel Documents
      • Formulas, Numbers, and Dates
    • PowerPoint documents
    • InDesign and InCopy Documents
      • Translations of special formats
    • QuickSilver documents
    • PO Documents
    • MC Documents
    • XLIFF Documents
      • Bilingual XLIFF Files
    • crossTransform
    • Software Localization
      • Localizing Menus
      • Localizing String Tables
    • Localization of mobile apps
    • Localizing Display Texts
      • Localizing Display Texts in crossDesk Web
  • Menus, Icons, and Keyboard Shortcuts
    • Reference: Icons
      • Across Client
      • Term Extraction & Translation
    • Reference: Keyboard Shortcuts
      • General
      • crossDesk
      • crossTank
      • crossTerm
      • crossDesk Web
    • Reference: Menus
      • File
    • Reference: Context Menus
      • Projects and Tasks

Configuring a DST for Conditional XML

The following instruction demonstrates the use of Conditional XML on the basis of a simple XML document.

drittprogramm_notepad _xml_bedingtes-xml

The document contains the external element <p>, which occurs three times in the example document. On the one hand as a normal element without attribute (1). On the other hand the element occurs two times with the attribute translate (2 and 3) and different attribute values in each case. In the first case, the element content is to be translated (attribute value yes; see 2) and therefore displayed in the normal way in Across. In the second case, however, the element content is not to be translated (attribute value no; see 3). Accordingly, the element content is to be displayed as locked for the translator in Across.

In Across, the implementation of these attribute values can be mapped with the help of conditions (Conditional ML).

  1. Proceed as follows:
  2. Access the document settings template in which you want to determine conditions via Tools > >System Settings > Document Settings.
  3. There, select the desired format (Tagged HTML, SGML or XML; in this example: Tagged XML).
  4. Select the requested template via the drop-down list under Document settings template.
  5. To customize the processing of XML elements, these elements must first be inserted in the template. Usually, the easiest way to do this is to import the document or the DTD in the document settings template by means of Load. In this way, all elements contained in the document are written to the document settings template for quick and easy customizing.
    sysset_dst_tagged-xml_ausschnitt-einstellungen-anpassen
  6. Select the external element for which you want to define conditions.
  7. Click Edit.
  8. Select the external element type and the Conditional option.
    sysset_dst_tagged-xml_elementeigenschaften_extern_bedingt
  9. Click Settings in order to define the conditions.
  10. Click Add.
    The element to be adapted is displayed (in our case <p>).
  11. Click Add attribute in order to define the first condition for the attribute translate.
  12. If you have imported the XML document to the document settings template, you can select the desired attribute from the drop-down list on the left (in our case, the attribute translate). Otherwise, enter an attribute manually. The name of the attribute must correspond exactly to the attribute name in the XML document.
  13. In the right input field, enter the value of the attribute (in this case, yes). Here, too, the attribute value must correspond exactly to the attribute value in the XML document.
    sysset_dst_tagged-xml_attribut--und-werteauswahl_uebersetzen-ja
  14. Click OK.
  15. From the drop-down list, select the desired processing and display mode in Across.
    In this case, select Normal, as the element contents with the attribute value yes are to be edited by the translator in the normal way, i.e. they are to be translated.
  16. Click OK.
  17. The condition has been added and represented in the form of an XPath expression. Click Add and Add attribute in order to define the second condition for the attribute translate.
    Tip

    XPath (XML Path Language) is a language used to address parts of an ML document. It can be used to address specific nodes of these documents.

  18. From the drop-down list on the left, select the desired attribute (in this case, translate) and enter the value of the attribute in the right input field (in this case, no).
  19. Click OK.
  20. From the drop-down list, select the desired processing and display mode in Across. In our case Locked, as the element contents with the attribute value no are not to be translated. However, the contents are to be displayed to the translator.
    If you select Hide, the content will not be visible to the translator.
  21. Click OK.
  22. The second condition, too, is added and represented in the form of an XPath expression. In this way, both conditions have been defined. Click Close and OK.
  23. Now the XML document can be checked in to Across as Tagged XML on the basis of the customized document settings template.

cDesk_tagged-xml_bedingtes-xml

Element contents without condition are displayed in the normal way (1). In line with the first defined condition, the contents with the attribute value yes are displayed in the normal way in crossDesk and can be edited by the translator (2). Element contents with the attribute value no are displayed as blocked for the translator, in accordance with the second defined condition. This is evident from the gray background of the respective paragraph (see 3) and from the icn_cDesk_cView_absatz-gesperrt icon in crossView.

Attention

If you adapt the document settings template for a document that has already been checked in and want to apply the changed template to the document, all you need to do is update the unchanged document. Select the previously customized template as the template (not the Current document settings template option).

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