Using CSS to create drop-down menus for element attributes
Posted: Fri Jul 22, 2022 3:12 am
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.
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.