<div dir="ltr">It would be nice to have a better method for inserting the hrefs for &lt;xref&gt;, &lt;link&gt;, &lt;conref&gt;, and &lt;image&gt;.<br><br>As far as I can tell, the current feature set allows you to insert these elements, but then you need to hand-code the href.<br>
<br>Would be nice to have a dialog box that allows you to select the target file -- for example, something like the way you can currently insert conrefs.<br><br>Even nicer, it would be great to be able to drag-and-drop from the Project pane.&nbsp; For example, drag a topic file, and drop into an open DITA file (in Text or Author view), and an xref is inserted.&nbsp;&nbsp; Ctrl-drag, and a Related Link is inserted.&nbsp;&nbsp; Drag a graphic, and an &lt;image&gt; element is inserted, with the href already correctly defined.<br>
<br>To get an xref to a particular element, it would be nice to have a feature something like this:<br><ul><li>Select the target element</li><li>Select menu item &quot;Create xref to target element&quot;, which results in the following:</li>
<ul><li>If the selected element has no id attribute, an id attribute is created, or a dialog box opens, telling the user to specify the id attribute</li><li>The clipboard is then populated with the &lt;xref&gt; element with the href already correctly defined.</li>
<li>An optional dialog box could appear, telling the user that the xref has been formed and is on the clipboard</li></ul><li>You then go to the place where you want to put the xref, and just paste it in.&nbsp; <br></li><ul><li>
Oxygen should adjust the syntax of the href, depending on where the user pastes it in.&nbsp; This would not just be a simple copy-paste, but would require some additional intelligence from Oxygen:<br></li><ul><li>If the xref is pointing to content in the same file, the following syntax is used (as per the <a href="http://docs.oasis-open.org/dita/v1.1/OS/langspec/langref/xref.html#xref__attrs">DITA Language Spec</a>):<br>
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; href=&quot;#topicID&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; href=&quot;#topicID/elemID</span></li>
<li>If the xref target is in a different file:<br><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; href=&quot;filename.dita#topicID&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp; href=&quot;fname.dita#topicID/elemID&quot;</span></li>
</ul></ul></ul>It would be nice to have similar copy/paste functionality for conrefs.&nbsp;&nbsp; Much easier than navigating through a dialog box.<br><br><br>Thanks,<br><br>Seraphim<br><br><br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 11:16 PM, Radu Coravu <span dir="ltr">&lt;<a href="mailto:radu_coravu@sync.ro">radu_coravu@sync.ro</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
We will study implementing this request for a future version.<div class="Ih2E3d"><br>
<br>
Regards,<br>
Radu<br>
<br>
-- <br>
Radu Coravu &lt;oXygen/&gt; XML Editor, Schema Editor and XSLT Editor/Debugger<br>
<a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
<br>
<br></div><div><div></div><div class="Wj3C7c">
Eliot Kimber wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 6/2/08 3:23 PM, &quot;Seraphim Larsen&quot; &lt;<a href="mailto:seraphim37@gmail.com" target="_blank">seraphim37@gmail.com</a>&gt; wrote:<br>
<br>
 &nbsp;<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It would also be nice if the dialog box for inserting topicrefs would stay<br>
open after inserting each ref. &nbsp;That way you can keep inserting refs till<br>
you&#39;re done, rather than needing to open the dialog box every single time<br>
you add a new ref. &nbsp;Serna has this behavior and it&#39;s much easier to work<br>
with, in my opinion.<br>
 &nbsp; &nbsp;<br>
</blockquote>
<br>
I agree--it&#39;s quite nice for organizing a set of existing topics into a new<br>
navigation hierarchy.<br>
<br>
Cheers,<br>
<br>
Eliot<br>
<br>
 &nbsp;<br>
</blockquote>
<br>
<br>
</div></div></blockquote></div><br></div>