McGuire, Mike wrote: > > After I insert an xref element, would it be possible to call up a dialog > list box that would: > > 1. Let me select an external dita file through a standard file dialog > > 2. Show me a list of the IDs present in that file > > 3. Let me select the desired value, then insert that the proper href > string (for example, task_doingSomething#id0122234) into the the xref's > href attribute > > I'm not necessarily looking for the exact manner to do this, but just > want to see if it's possible and some suggestions as to where to look. >
--> Currently, there is nothing more convenient than doing this: [1] Select the "xref" element if this is not already the case. Click on the "href" attribute in the Attributes tool to select it. [2] The Attributes tool has a "Browse" button. Use it to choose file "task_doingSomething.dita". Now the "href" attribute contains "task_doingSomething.dita". [3] Open the other file (task_doingSomething.dita) in XMLmind XML Editor. [4] Use menu item "DITA|Go to..." [5] Select the ID (you should find something like "id0122234") and press button "Copy". [6] Switch the other document, select the "xref" element if this is not already the case. Click on the "href" attribute in the Attributes tool, then press Ctrl-V (no need to type "#"). Now the "href" attribute contains "task_doingSomething.dita#id0122234". --> Note that this problem is not specific to DITA and happens each time you work on a modular document. We have ideas on how to vastly improve this process in XXE v4. (We hope that these ideas are good ones!)

