<div dir="ltr">It would be nice to have a better method for inserting the hrefs for <xref>, <link>, <conref>, and <image>.<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. For example, drag a topic file, and drop into an open DITA file (in Text or Author view), and an xref is inserted. Ctrl-drag, and a Related Link is inserted. Drag a graphic, and an <image> 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 "Create xref to target element", 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 <xref> 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. <br></li><ul><li>
Oxygen should adjust the syntax of the href, depending on where the user pastes it in. 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;"> href="#topicID"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> href="#topicID/elemID</span></li>
<li>If the xref target is in a different file:<br><span style="font-family: courier new,monospace;"> href="filename.dita#topicID"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> href="fname.dita#topicID/elemID"</span></li>
</ul></ul></ul>It would be nice to have similar copy/paste functionality for conrefs. 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"><<a href="mailto:radu_coravu@sync.ro">radu_coravu@sync.ro</a>></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 <oXygen/> 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, "Seraphim Larsen" <<a href="mailto:seraphim37@gmail.com" target="_blank">seraphim37@gmail.com</a>> wrote:<br>
<br>
<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. That way you can keep inserting refs till<br>
you're done, rather than needing to open the dialog box every single time<br>
you add a new ref. Serna has this behavior and it's much easier to work<br>
with, in my opinion.<br>
<br>
</blockquote>
<br>
I agree--it's quite nice for organizing a set of existing topics into a new<br>
navigation hierarchy.<br>
<br>
Cheers,<br>
<br>
Eliot<br>
<br>
<br>
</blockquote>
<br>
<br>
</div></div></blockquote></div><br></div>