• 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
  • ALS
  • Project Management
  • Documents
  • Document Settings Templates
  • Creation
  • Configuring a DST for Conditional XML
  • Release Notes v7.0
    • Across v7 15980
    • Across v7 15960
    • Across v7 15954
    • Across v7 15934
    • Across v7 15921
    • Across v7 15918
    • Across v7 15911
  • Getting Started
    • Structure and Architecture
      • TMS Functionality
      • Across Support and Across Services
      • Toolbox
      • Modules
        • crossBoard
        • crossDesk
        • crossTerm
        • crossTank
      • Tasks/Roles
      • Using Across
        • Wizards
        • Module Icons
        • Keyboard Shortcuts
        • Context menus
        • Profiling mode
      • Customization
        • Across
        • Toolbars
      • Matches
      • Repetitions
    • Basic Decisions
      • Rich Translation Memory
      • Storing Multiple Translations
      • Permitting Multiple Translations
      • Segmentation
      • Splitting
    • Logging in
      • Online Client
      • Windows Authentication
    • crossBoard
      • Dashboard
        • Adding Dashlets
        • Customizing Dashlets
      • My Tasks
        • Confirming/Rejecting Tasks
        • Customizing the Module
    • Change username/password
    • Confirming and Opening Tasks
    • Internal Communication
      • Message Administration
    • Rights System: Default Settings
      • Projects
      • Documents
      • Target Languages
      • Paragraphs
      • Users
      • Cockpit
      • Groups
      • User Settings Templates
      • Languages
      • Fonts
      • Relations
      • crossTank
      • crossTerm
      • User Settings
      • System Settings
      • Tools
      • Workflows
      • LSCM
      • Windows Resources
  • System Management
    • General Information
    • Users
      • Context Menu
      • Creation with Across Login
      • Creation with Windows Authentication
      • Properties
    • Groups & User Crowds
      • Groups
        • Creation
      • Attribute-Specific Rights
      • User Crowds
        • Creation
    • Softkeys
      • Creation
      • Management
    • Reports for User and Group Information
    • User Settings Templates
      • Creation
    • Workflows
      • Standard
      • User-Defined
      • Assignment or Change
      • Configuration
        • Quality Management (QM v6.3)
    • Relations
      • Creation
    • Languages
      • Sublanguages
      • Right-to-Left Languages (RTL Languages)
    • Fonts
      • Missing Fonts
      • Assignment of Master to Trusted Server
    • User settings
      • The "General" Section
        • Alignment
        • General
        • Notification
        • crossSearch
          • Customization and Extension
        • Dialog Settings
        • E-Mail
        • Progress
        • Review
        • Project Wizard Options
        • Project Filters
        • Spell-Check
          • Adding a Hunspell Dictionary
        • Fonts
        • Languages
        • Preview
      • crossDesk Area
        • Auto-Propagate
        • crossTank
        • crossTerm
        • crossView
        • Contrast Formatting
        • Quality Management
        • Source/Context View
        • Target Editor
      • Customizing Shortcut Keys
    • System settings
      • Editing States
      • User Dictionary
      • crossGrid
        • TS Properties - General
        • TS Properties - Languages
        • TS Properties - Data Usage
        • TS Properties - Rights
          • crossTank
          • crossTerm
        • TS Properties - Contacts
        • MS Properties
      • crossGrid Packaging Templates
        • General
        • crossTank
        • crossTerm
      • crossTank
      • crossWAN Packaging Templates
        • General
        • crossTank
        • crossTerm
      • Subjects
      • Information
      • Machine Translation
        • Configuration
      • Project Settings Templates
        • General
        • crossTank
          • Storing Settings
          • Penalties
          • Pre-Translation
        • crossTerm
      • Quality Management v6.3
        • Configuring the crossTerm Check
        • Managing QM Lists (QM v6.3)
      • Quality Management v7.0
        • QM Check with Regular Expressions
      • Reporting
      • Segmentation
      • Language Settings
        • Date, Time, and Number Formats
          • Adding new format
          • Define Alphanumeric Dates
          • Sentence detection
          • Adding new abbreviations
          • Creating Sentence Rules
          • Editing Sentence Rules
          • Wildcard
      • Structure Attributes
      • System Attributes
        • User-Defined Creation
      • Search Center
      • Concordance Search Results
      • Stopwords
      • Term Extraction
      • Document Settings
      • Document Associations
      • Display Text
      • .NET Resources
      • Excel 2000-2003
      • Excel 2007-2016
      • IDML
      • MIF 7
      • MIF 8-2019
      • PDF
      • PowerPoint 2000-2003
      • PowerPoint 2007-2016
      • QuickSilver
      • 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
      • Windows Resources
      • Word 2000-2003
        • Show/Hide Style Elements
      • Word 2007-2016
      • XLIFF
      • Regular expressions
        • Application Examples
        • RegEx QM Criteria for Software Localization
    • System attributes
      • crossTank Entries
  • Project Management
    • Projects
      • Project View
      • Project settings
      • Functions of the Module
      • Project Search
        • Search and Replace
      • Project creation
        • Execution
      • Adding attachements
      • Releasing Projects
      • Document and Project Updates
        • Execution
      • Project status
      • Exporting projects
      • Importing projects
      • Activating/Deactivating Projects
      • Duplicating Projects
      • Archiving 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
      • Partitioning Documents
      • 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
      • Reports
      • Price Calculation
        • Example 1
        • Example 2
        • Example 3
        • Example 4
      • Word Count in Across
      • Report Types
      • Creation
        • Creating an Edit Distance Report
        • Creating a Comments Overview Report
      • Update Report
      • Customization
    • Tasks
      • Priorities and Due Dates
      • Reports
      • View
      • Assignment
        • Assignment to Crowds
      • Non-Matching Users
      • Unassignment
    • Quality management
      • Quality Management View
      • QM Criteria
        • QM Criteria (QM v7.0)
        • QM Templates (v7.0)
        • General (QM v6.3)
        • 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
      • Connecting External QM Tools
    • Formats
      • View
      • Creating Templates
      • Editing Templates
    • The Project Archive
      • Restoring
    • crossGrid
      • View
      • Reporting
      • Rights Control
      • Transmission History
      • Availability of Entries
      • Package delegation
        • Assembling Data
        • Packaging Templates
          • Provide Entries
        • Creation and Delegation
          • Delegation
        • Retrieval
          • User-Defined Workflows
        • Delivery
        • Importing Data (v6.3)
    • Project Management Cockpit
      • Context Menus
      • Customization
      • Functions
      • Queries
    • The Filter Editor
    • crossAnalytics
    • Linguistic Supply Chain Management (LSCM)
      • Basic Information
      • Opening LSCM
      • User Interface
      • Generating Price Lists
      • Mapping Price Lists
      • Creating a Report
      • Generating Price Comparisons
    • crossWAN Project Management
      • Data Preparation and Export
      • Data Processing
      • Task Export
      • Task Import
      • Importing Data (v6.3)
    • Partitioning
    • Relay Translations
      • Assignment
      • Execution
    • Document preparation
    • Term Extraction and Term Translation
      • Term Extraction
        • Icons and Keyboard Shortcuts
      • Term Translation
        • Icons and Keyboard Shortcuts
    • External Editing of Documents
      • Execution
    • The EN 15038 Standard Workflow
    • The ISO 17100 Standard Workflow
    • crossConnect for External Editing
      • Activation
    • Finishing pre-translated tasks automatically
  • Task Processing
    • Working in crossDesk
      • Using crossWeb
      • Text Display
      • Editable Fields vs. Placeables
      • Using Tags
      • Translating Documents
    • Paragraph States
      • Change
    • Empty Paragraphs
    • Modes
      • Correction Mode
    • Customizing crossDesk
    • Tasks in Across
      • Confirming/Rejecting Tasks
      • Concurrently Opening Multiple Tasks
      • Closing Tasks
      • Finishing Tasks
    • Comments
    • Bookmarks
    • Paragraph Numbering
    • Sorting Paragraphs
    • Context View/Source View
      • Date, Time, and Number Formats
      • Number Control
      • Joining Paragraphs
    • crossTerm Window in crossDesk
    • crossView
      • Modes
      • Change History
        • Restoring Old Paragraph Versions
    • Fuzzy search
    • Concordance search
    • crossSearch
    • Spell-check and User Dictionary
    • Pre-translations
    • Store Translations Wizard
    • The Target Editor
      • Automatically Inserting crossTank Entries
      • Automatically Inserting Repetitions
      • Adding Translations to crossTank
      • Creating a Term During Translation
      • Auto-completion
      • Fields
      • Objects and Images
      • Special Characters and Symbols
      • Sentence Detection and Segments
        • Editing Segments
    • Preview
    • QM Check in crossDesk
      • Usage (QM v7.0)
      • Mandatory Criteria
      • QM Batch Mode
    • Search and Replace
    • Correction
      • Correcting Translations
    • Reviews
    • Redelegation to the Translator
    • Quick Translate
      • Translating with Quick Translate
      • Finishing Quick Translate Tasks
    • Local Data in the Offline Client
  • crossWAN
    • About crossWAN
      • crossWAN Online
      • crossWAN Load
      • crossWAN classic
      • crossWeb for Offline Users
    • Retrieving Tasks
    • Delivering Tasks
  • TM Management
    • The crossTank Manager
      • Rich Translation Memory
        • Exchange Formats
      • Context matches
      • Structure Matches
      • Context-Independent Translations
      • Usage History
      • Auto-Changes and Auto-Adjustments
    • Adding Translations
    • Editing Translations
    • Changing the Status of Translations
    • Merging Translations
    • Deleting Translations
    • Protecting Translations
      • Translation Units
      • Paragraphs in Connection with Pre-Translations
      • Protected Paragraphs in Across Reports
      • Rights Control
    • Searching for Translations
      • Search and Replace
    • Generating a crossTank Summary
    • crossTank Import
      • Mapping Import Data
      • Import Templates
      • Import Statistics
      • TMX Import and Server Context
      • Importing translation memories
        • TM Import Functions
    • crossTank Export
      • Exporting translation memories
    • crossTank Maintenance
      • Changing Attributes
      • Deleting Entries
      • Removing Redundant Translations
      • Changing the Attributes of Multiple Entries
      • Removal of Duplicates
      • Identifying Unused Entries
  • Terminology Management
    • Concept-Oriented Terminology System
    • Definitions
      • What is an entry?
    • The crossTerm Manager
    • crossTerm settings
      • crossTerm Instances
        • Management
      • Entries
        • Indexes
        • Text fields
          • Standard text fields
        • Picklists
          • Standard picklists
        • System attributes
        • Attachments
        • Groups
          • Creation
      • Terms
      • Template Management
        • Entry templates
        • Term templates
      • Tooltip Administration
        • Data Categories
        • crossTerm Instances
        • Administrative Index Information
        • Definitions
    • crossTerm Manager User Interface
      • Modes & Layouts
        • User-Defined Layouts
      • Search Area and Hit List Display
      • Concept-Oriented Information
      • Source-Language Terms
      • Target-Language Terms
      • Additional Information
    • Searching for Entries/Terms
      • Search Types
        • Term search
        • Fuzzy search
        • Entry search
        • Keyword search in definitions
        • Concordance search
        • Index search
      • Display of Search Suggestions
      • Quick Filters
      • 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
      • Add entry and term
        • Superscript & Subscript
      • Homographs
      • Quick Add Terms
      • 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
      • Hyperlinks
    • Editing Entries/Terms
    • Delete Entries/Term(s)
    • Merging Entries
    • Duplicating Entries
    • Manual correction
    • crossTerm Reports
      • Terminology Reports
      • Entry Reports
      • Summaries
        • Generating Entry Summaries
        • Generating Term Summaries
    • crossTerm Import
      • Mapping
      • GUID mapping
      • Templates
      • Log file
        • Creation
      • Exclusion Files
      • Existing Terminology
      • Importing Terminology
        • The TBX format
          • Import
        • The CSV Format
          • Import
          • Preparations
          • Mapping
        • Star Martif import
        • The MultiTerm format
          • Import
    • crossTerm Export
      • Templates
      • Exporting Terminology
    • crossTerm Data Maintenance
      • Execution
    • crossTerm Web
      • Homographs
      • Sending Comments
      • Logging of Unsuccessful Searches
      • Opening crossTerm Web
        • Anonymous access
        • Login via Windows Authentication
      • Working with crossTerm Web
        • Creating an entry
        • Edit entry
        • Delete entry
        • Search
          • Concordance search
          • Search for entry
          • Search for terms
          • Keyword search in definitions
          • Auto-completion
        • Settings
      • crossTerm Web Rights
        • Editing
        • Interaction of Rights
      • crossTerm Web Suggestion Module
        • Controlling the Access
        • Suggesting terms
        • Further processing of term suggestions
      • crossTerm Web Skins
    • crossMining
    • crossSearch
  • Browser-based Work
    • Working Browser-based with crossWeb
      • Browser Settings
      • Login
      • Customization
      • User Settings
        • General
        • crossDesk Web
      • My Tasks
      • Terminology
      • crossView
    • Project Management
      • Projects
      • Tasks
      • Creating Projects
      • Document Check-out
    • Translation
      • crossDesk Web
        • Customization
      • Finishing Tasks
      • Source Languages as Reference
    • Review
      • Review Mode
      • Standard Mode
      • Reviewing Translations
    • External Document Editing
  • Editing of Special Formats
    • HTML Documents
      • Tagged HTML
    • XML Documents
      • Visual XML vs. Tagged XML
      • Tagged XML v2
      • Consideration of DTDs and XSDs
      • Encoding
      • XHTML Documents
    • SGML Documents
    • FrameMaker Documents
      • MIF Documents
      • Translating MIF Documents
        • MIF Elements
        • Creating Previews
      • Font Mapping
        • Font mapping
    • Word Documents
      • Editable Fields vs. Placeables
      • Linked Objects
      • Bookmarks
      • Change tracking (DOCX)
        • Usage
      • Hidden Text (DOCX)
      • Document Properties (DOCX)
    • TXT Documents
      • Encoding
    • Excel Documents
      • Processing
      • Formulas, Numbers, and Dates
    • PowerPoint documents
    • InDesign and InCopy Documents
      • Conversion
      • Translations of special formats
      • Kerning and Tracking
      • Tagged XML or Visual XML
      • Set Visual XML
      • Previews
    • QuickSilver documents
      • Translation
      • Icons
      • Centrally Defined Components
      • Sanity Check of Prefix Components
    • PO Documents
      • Processing
      • Extraction of Translation Units
    • MC Documents
    • XLIFF Documents
      • Bilingual XLIFF Files
      • Cloneable Elements
      • Paired Elements
      • QM Check (QM v6.3)
    • crossTransform
      • Extension
      • Setup
      • Adding Formats
    • Software Localization
      • Quality Management (QM v6.3)
      • Customizing Shortcut Keys
      • Localizing Dialog Boxes
        • Customizing Dialog Elements and Buttons
      • Localizing Menus
      • Localizing String Tables
        • Displaying String IDs
    • Localization of mobile apps
    • Localizing Display Texts
      • The Across-Specific DTXML Format
      • Localizing Display Texts in crossDesk Web
  • Menus, Icons, and Keyboard Shortcuts
    • Reference: Icons
      • Across Client
      • crossDesk
        • crossView
          • Software Localization
          • MIF Documents
          • QuickSilver Documents
        • Context View/Source View
        • Target Editor
        • Search Center
        • crossTerm
        • Status Bar
      • crossTank Manager
      • crossTerm Manager
      • crossWeb
        • Paragraph States
        • crossView
        • Context View/Source View
        • Target Editor
        • Search Center
        • crossTerm
      • Alignment
      • Term Extraction & Translation
    • Reference: Keyboard Shortcuts
      • General
      • crossDesk
      • crossTank
      • crossTerm
      • crossDesk Web
    • Reference: Menus
      • File
      • View
      • Tools
      • Help
      • crossTank Manager
      • crossTerm Manager
    • Reference: Context Menus
      • Projects and Tasks
      • Users
      • crossDesk
      • crossTerm Manager
      • crossWeb

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