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

ann.jensen
Posts: 201

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

Thu Apr 06, 2017 4:54 pm

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: 5226

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

Thu Apr 06, 2017 4:58 pm

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

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 2 guests