<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Frank,</p>
<p><br>
</p>
<p>Maybe this will help:</p>
<p><a class="moz-txt-link-freetext" href="https://blog.oxygenxml.com/presentation-reuse/conref_push.html">https://blog.oxygenxml.com/presentation-reuse/conref_push.html</a></p>
<p><br>
</p>
<p>One remark, Oxygen will not show the pushed content in place but
publishing should work.<br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>Radu</p>
<pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
<p></p>
<div class="moz-cite-prefix">On 3/27/23 18:05, Frank Dissinger
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:f7186369-42f5-d3ad-a1ba-687eb2cca1e1@cgs-oris.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi all,</p>
<p><br>
</p>
<p>I have tested the "DITA > Push Current element" feature, but
cannot get it to work.</p>
<p><br>
</p>
<p>I want to inject a <dlentry> element into a shared topic
which is used in two projects. The element to be injected is
stored in a warehouse topic for project 1. What I want is to
inject this element only when project 1 is built. When project 2
is built, the key to the warehouse topic resolves to a different
file which doese not include the element. So what I hope is that
the element is only injected when I build project 1 and that it
is left out when I build project 2 -- without any error or
warning generated in the log file or in Oxygen's editor window.<br>
</p>
<p><br>
</p>
<p>However, the element does not appear in project 1 and in Oxygen
it is shown as an empty <dt><p> struture. In a
previous attempt the element was shown in the editor window, but
not in output either. I can't remember what I did differently...</p>
<p><br>
</p>
<p>I may not have undestood this feature correctly. Can someone
enlighten me? Thank you.</p>
<p><br>
</p>
<p>Regards,</p>
<p>Frank<br>
</p>
<p><br>
</p>
<p>The dita code:<br>
</p>
<p><b><font face="monospace"><br>
</font></b></p>
<p><font face="monospace"><b>file.dita</b><br>
</font></p>
<p><font face="monospace"> <dlentry conaction="mark"
conkeyref="lib_ref/my_id"><br>
<dt/><br>
<dd><br>
<p/><br>
</dd><br>
</dlentry><br>
<dlentry conaction="pushafter"><br>
<dt>A term. The term in lib_ref.dita should be
injected after that.</dt><br>
<dd><br>
<p>Explanation</p><br>
</dd><br>
</dlentry></font></p>
<p><font face="monospace"><br>
</font></p>
<p><b><font face="monospace">lib_ref.dita<br>
</font></b></p>
<p><font face="monospace"> <dl><br>
<dlentry id="my_id"><br>
<dt>The term to inject after the term in
file.dita</dt><br>
<dd><br>
<p>Explanation</p><br>
</dd><br>
</dlentry><br>
</dl></font><br>
</p>
<div class="moz-signature"><font face="monospace"><br>
</font></div>
<div class="moz-signature"><b><font face="monospace">variables.ditamap</font></b></div>
<div class="moz-signature"><font face="monospace"> <keydef
href="reuse/lib_ref.dita" keys="lib_ref"/><br>
<br>
</font></div>
<div class="moz-signature">Appearance in oXygen.<br>
</div>
<div class="moz-signature"><img
src="cid:part1.e9FMtPBx.0Xu5pZei@oxygenxml.com" alt=""
class=""></div>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<title></title>
<div class="moz-signature">
<style>div.signature {font-family: Verdana, sans-serif; font-size: 10pt; color: #7F8C8D; padding-top: 0.4em;}div.name {padding-bottom: 0.8em; padding-top: 0.8em}div.contact {padding-bottom: 0.8em;}p {margin: 0;}span.separator {border-top-style: dotted; border-top-width: 2px; padding-top: 0.6em;}a {color: inherit}</style>
<div class="signature">
<div class="name">
<p><strong>Frank Dissinger</strong></p>
<p>Documentation Manager</p>
<p>....................................................................</p>
</div>
<div class="contact">
<p><strong>CGS Publishing Technologies International GmbH</strong></p>
<p><strong>Email </strong><a
href="mailto:frank.dissinger@cgs-oris.com"
target="_blank" class="moz-txt-link-freetext"
moz-do-not-send="true">frank.dissinger@cgs-oris.com</a>
| <strong>Web</strong> <a
href="http://www.cgs-oris.com/" target="_blank"
moz-do-not-send="true">www.cgs-oris.com</a></p>
<p><strong>Address</strong> Kettelerstr. 24 | D-63512
Hainburg | Germany</p>
<p><strong>Phone</strong> +49 6182 9626-27 | <strong>Fax</strong>
+49 6182 9626-99</p>
<p><strong>Commercial register</strong> Offenbach, HRB no.
21495</p>
<p><strong>Managing directors</strong> Bernd Rückert,
Christoph Thommessen</p>
<p><br>
</p>
<a href="https://www.cgs-oris.com/signatur"
moz-do-not-send="true"><img
alt="https://www.cgs-oris.com/Signatur.png"
longdesc="https://www.cgs-oris.com/signatur"
src="https://www.cgs-oris.com/Signatur.png"
moz-do-not-send="true" width="394" height="200"></a> </div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>