Content key reference - no keyed elements available?

Post here questions and problems related to editing and publishing DITA content.
jacobseh
Posts: 2
Joined: Mon May 14, 2012 1:32 pm

Content key reference - no keyed elements available?

Post by jacobseh »

Hi,

I'm running OxygenXML in Eclipse, and trying to make a content key reference (abbreviated-form) to a glossary item. According to the help files, this should be possible via the DITA > Insert content key reference menu.
The wizard however does not show any key elements, so I can't pick one.
It does not make any difference whether I open the dita map or not: I never see any key definitions.

The setup:
The main dita.ditamap contains a mapref to glossary.ditamap, which in turn has a whole bunch of keydefs to glossary.xml. E.g.

Code: Select all

<keydef keys="gloss_ACL" href="glossary.xml#gloss_ACL" />
When I open any topic from within the dita.ditamp, say about.xml, move the caret to a valid insertion point, and click DITA > Insert content key reference menu, no keys are given in the wizard.

Am I doing something wrong, or ...? Please help!
Radu
Posts: 9472
Joined: Fri Jul 09, 2004 5:18 pm

Re: Content key reference - no keyed elements available?

Post by Radu »

Hi,

In order for Oxygen to present the keys (or to navigate when clicking key references), the main DITA Map needs to be opened in a special Oxygen view called the "DITA Maps Manager" view.
In the Eclipse Project you can right click the DITA Map and choose Open in DITA Maps Manager.
We will update the user manual to clarify things.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
jacobseh
Posts: 2
Joined: Mon May 14, 2012 1:32 pm

Re: Content key reference - no keyed elements available?

Post by jacobseh »

Hi Radu,

Thanks, that point I missed. Works like a charm now.

Cheers,

Hans
Post Reply