My first thought would be to use an XML catalog to map the current URLs to the correct ones.
As a matter of principle, I always prefer to refer to external resources with a full URL, including domain name, then use a catalog to map the URL to a local path. That way if one set of resources is moved relative to another, all I have to do to restore the connection is to update the catalog.
Mark
-------- Original message --------
From Nathan <vrveerar@gmail.com>
Date: 12-18-2013 6:20 PM (GMT-05:00)
To oxygen-user@oxygenxml.com
Subject [oXygen-user] Default folder for images
Hi,
I am currently moving from Arbortext to Oxygen and I have a bunch of DITA XMLs which have a fixed path for img src attributes (Arbortext allows one to set such folder locations in the preferences for inline display). These paths are not valid (what can I say, I used Arbortext ;-)) and I am trying to move away from this practice by converting it in to relative paths.
In the meantime, is there any thing I can do to make this valid. I have looked at some options including:
- Change path using the ChangeAttribute Author default operation (Question, is there any the operation can be triggered on document open in OxygenXML Author).
- Using the Java API (Again, any way this trigger this on document open)
Is there a better way to do this?
Thanks!
Nathan
PS: I am using Oxygen 15