DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Conditional text selection box issues

  • rnv

    Conditional text selection box issues

    Participants 0
    Replies 1
    Last Activity 8 years, 3 months ago

    XMetaL provides 'Apply / Remove Conditions' window box to select conditions values. We can also modify ct_config.xml file to specify our own conditions.

    1. User can open 'Apply / Remove Conditions' window by clicking the button next to attribute value in Attribute Inspector (for example next to outputclass attribute). see attachment. In the box however user can select values for all conditions. This is confusing for users. Users will not be confused if he sees only options for the attribute he selected.

    Is it possible to configure so that users see option to select only outputclass values in such case?

    2. If a conditional attribute (e.g. Outputclass) has three values, then more than one can be selected. Is it possible to specify/configure so that only one of the three specified values can be selected? 

    we are using XMetaL 9.0


    Derek Read

    Reply to: Conditional text selection box issues

    #1 is an interesting request I have not heard previously. I'll raise it with the development team to see if they are willing to consider adding this feature. As we like to track feature requests and bugs to specific companies please submit a feature request via XMetaL Support to make this official. Tracking which companies have made particular requests allows the development team to rank them based on the number of requests and other information.

    #2 is not possible with the software as designed today (which follows DITA's rules). Enforcing this may be difficult to implement as a new feature. There are at least two things that are likely to make this a very low priority however: a) DITA itself has no mechanism for restricting this defined in its specification, b) DITA's conditional attributes are defined as being CDATA and, according to the XML validation rules, CDATA attributes allow spaces. As a result of these things I think this would need to be implemented as a special business rule specific to your companies needs, which almost makes sense to implement as one-off custom feature (perhaps by one of the JustSystems partners). Feel free to make a similar feature request via XMetaL Support. Include as much detail about your actual usage of this feature and conditional text in general so we have some idea of why it might be useful to implement.


  • You must be logged in to reply to this topic.

Lost Your Password?