Assigning attribute values to specific elements

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
burbles
Posts: 37

Assigning attribute values to specific elements

Sun Aug 28, 2011 6:08 am

I have created a number of values for the DocBook attribute "role", in the preferences for Author - Profiling/Conditional Text.
When I want to apply one of those values to a specific element, I click within an element then click on "role" in the Attributes panel. This brings up every value I have specified for "role". Is there a way that I can specify a subset of values that are relevant for specific elements (instead of bringing up all values for the role attribute)?
What I'd like is to click in an element, and bring up in the Attribute pane only those values for the "role" attribute that apply to that particular element.
Thanks
Radu
Posts: 6001

Re: Assigning attribute values to specific elements

Mon Aug 29, 2011 11:50 am

Hi,

We do not have any setting from the GUI to control behaviors like this.

We have some Java API in our Author SDK:

http://www.oxygenxml.com/developer.html#XML_Editor_Authoring_SDK

which would allow you to take control over the values contributed for Docbook to the Attributes editor table.
If you are interested in such an approach and know Java I can give you more details.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 2 guests