Oxygen Author: How to limit the number of attributes propose

Oxygen general issues.
elaine_blath
Posts: 9
Joined: Thu Oct 30, 2014 1:58 pm

Oxygen Author: How to limit the number of attributes propose

Post by elaine_blath »

Is there a way to limit the number of the proposed attributes in the menu "edit attributes" without changing the xml schema? In my rnc schema for each possible tag there is the same global list of attributes defined, so for each tag I would have the same very big list of possible attributes. I had a similar problem with the number of the proposed tags, and it was resolved by Document Type Association by saying which tags should be removed from the content completion list. Is there a similar solution for removing unnecessary (for a certain tag) attributes from the list? So that, for example, when I tag a word with <person>, only "id", "name", "country" would be proposed out of 20 tags possible accroding to the schema?
Radu
Posts: 9444
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen Author: How to limit the number of attributes pro

Post by Radu »

Hi Elaine,

Sorry, we do not have a similar feature for filtering attributes based on user-defined rules. But we'll consider this for a future version.
We have a Java API extension which could be used to achieve this but you would need a Java developer to implement an extension.

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