Using CSS to create drop-down menus for element attributes

Post here questions and problems related to oXygen frameworks/document types.
jeff_hooker
Posts: 15
Joined: Tue Jun 11, 2019 9:01 pm

Using CSS to create drop-down menus for element attributes

Post 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.
adrian_sorop
Posts: 73
Joined: Wed Jun 22, 2016 2:48 pm

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

Post 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.
Adrian Sorop
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply