"rename" elements in Element View?

amberink
Posts: 12
Joined: Sat Apr 14, 2012 9:00 pm

"rename" elements in Element View?

Post by amberink » Thu Oct 24, 2013 7:36 pm

Hi there,

Is it possible to rename (apply a label) to elements in the Element View? If so, how does one do this?

Many thanks, Amber

Radu
Posts: 6980
Joined: Fri Jul 09, 2004 5:18 pm

Re: "rename" elements in Element View?

Post by Radu » Fri Oct 25, 2013 8:33 am

Hi Amber,

I'm sorry but I do not understand.
The Elements view shows a list of possible elements which can be inserted at the caret position.

Do you want for example if an allowed element is called "SCHEMA_ELEMENT" to see it displayed in the elements list as "RENDERED_ELEMENT"? But the inserted element would still be "SCHEMA_ELEMENT".

As you are using DITA this could be done using DTD specialization. Or you could customize the document type definition to define custom actions which can be added to the Elements view + to remove certain elements from the Elements view. I can give you more details about this if this is what you want.

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

Post Reply