
Hi Roderik, The "open file at caret" should only work if in the edited text content there is an URL, which is not your case (the URL is in the @href attribute of the xref). But the click should work if the xref has the proper attributes set to it. When you edit a DITA Topic in the Oxygen Author page there is a drop-down toolbar button called "Link" which has an action called "Cross Reference" which takes care to insert a proper xref to the chosen target file. There are other possibilities as well to insert an xref, for example if you drop a referenced topic from the DITA Maps Manager (or from the Windows Explorer) in the Author page a link will be created to the dropped topic. We have a basic DITA editing video tutorial here:
Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 7/5/2012 11:53 AM, Roderik Dernison wrote:
Hi,
I was wondering how I should create and open a link to another dita-topic in oxygen.
I’ve tried various things and the most logic option to me was to create a xref-element and add the url as an href-attribute. But when I click the link, nothing happens, and selecting “open file at caret” results in an error message: “Cannot open the specified file”.
Kind regards,
Ing. Roderik Dernison Programmeur/ontwikkelaar
*INL **· **Schatkamer van de Nederlandse Taal*/ /Matthias de Vrieshof 2 · Kamer 106a · 2311 BZ Leiden
Tel. +31 (0)71 527 2491 · www.inl.nl <http://www.inl.nl/>
------------------------------------------------------------------------
---------------------------------------------------------- Aan dit bericht kunnen geen rechten worden ontleend. Het bericht is alleen bestemd voor de geadresseerde. Indien het bericht niet voor u is bestemd, verzoeken wij u dit aan ons te melden en het bericht te verwijderen.
This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us and delete the message. ----------------------------------------------------------
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user