Page 1 of 1

Using CSS to create drop-down menus for element attributes

Posted: Fri Jul 22, 2022 3:12 am
by jeff_hooker
Hi folks,
My company's DITA publishing process makes heavy use of outputclass values in order to define custom conditions for the publishing scripts. The outputclass values are NOT part of the schema and should not be, however, this means that users are defining them manually and introducing errors. Is there a way of using the CSS interface to both control the options available on an element-by-element basis and write the selected value or values to the outputclass attribute? If this isn't available via CSS, is there some other aspect of the programming interface that could achieve this?

My implementation of Oxygen XML Author already has a custom framework, so that part is taken care of. I'm just looking for how to actually create the drop-down/pop-up menus.
Thanks.

Re: Using CSS to create drop-down menus for element attributes

Posted: Fri Jul 22, 2022 11:36 am
by adrian_sorop
Hi,
You can build around Combo Box Form Control if you like the CSS approach.
The second approach is to customize the Content Completion Proposals.
Let me know if you encounter any problems,
Adrian S.