insert.image action shown for glossBody?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ckabstein
Posts: 152
Joined: Fri Apr 24, 2015 12:28 pm

insert.image action shown for glossBody?

Post by ckabstein »

Hi,

If I understood the insert.image author action correctly, it should check whether an image may be inserted as a child element at the selected position.
The default XPath is

Code: Select all

oxy:allows-child-element("*", "class", " topic/image ")
However, for the glossBody element, the action shows in the Content Completion list, etc. What do I need to change in the author action that it doesn't appear?
The good thing that happens is that if I use that action and the wizard opens, on insertion of the image, automatically a glossSymbol element is inserted.

Christina
oXygen XML Editor 27.1 build 2025041508
DITA OT 3.7.4
Radu
Posts: 9469
Joined: Fri Jul 09, 2004 5:18 pm

Re: insert.image action shown for glossBody?

Post by Radu »

Hi Christina,

Actually the @class attribute value for a glossSymbol is - topic/image concept/image glossentry/glossSymbol so a glossSymbol is an extension of the DITA image, this is why the action still appears in the content completion list but when invoked it will indeed insert a glossSymbol.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ckabstein
Posts: 152
Joined: Fri Apr 24, 2015 12:28 pm

Re: insert.image action shown for glossBody?

Post by ckabstein »

Hi Radu,

Now I understand why this is happening.

Thanks for explaining this to me.

Rgds,
Christina
oXygen XML Editor 27.1 build 2025041508
DITA OT 3.7.4
Post Reply