Transforming a submap (only) when keys defined in parent map

Post here questions and problems related to editing and publishing DITA content.
ann.jensen
Posts: 295
Joined: Wed Jun 17, 2015 10:19 am

Transforming a submap (only) when keys defined in parent map

Post by ann.jensen »

Hi,
I want to transform only a submap that uses keyrefs where the keys are defined in a parent map.
When I look at the submap in Oxygen XML Author everything resolves fine. However when I publish to pdf none of the keys are resolved.
Should publishing of a submap look to its parent maps for resolving keys?
Also can I specify the root map when running a transformation the same way that I can in Oxygen XML Author?
Thanks in advance,
Ann
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Transforming a submap (only) when keys defined in parent map

Post by Radu »

Hi Ann,

So:
Should publishing of a submap look to its parent maps for resolving keys?
No.
Also can I specify the root map when running a transformation the same way that I can in Oxygen XML Author?
No. The publishing is an external process which starts from the published DITA Map.
You probably need to get organized, have a separate DITA Map which defines all keys, then include this separate DITA Map from the main DITA Map.
When publishing a submap, include this separate keys map from the submap and publish. Or create another map which refers the submap and the keys dita map and publish that one.

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