Pages: 1
Print
Author Topic: Conditional text selection box issues  (Read 2117 times)
rnv
Member

Posts: 48


« on: November 03, 2014, 05:36:32 AM »

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


* button-to-open-conditional-dialog.png (7.09 KB, 248x415 - viewed 443 times.)

* outputclass-options.png (15.15 KB, 353x451 - viewed 478 times.)
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: November 03, 2014, 07:35:17 PM »

#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.
Logged
Pages: 1
Print
Jump to: