When users select an xinclude fragment in one document and then perform a drag and drop to a second document, Arbortext creates an xinclude in the second document, but the file path in this new xinclude is absolute. I need all xincludes to be relative paths. How do I intercept the drop and manipulate the xinclude filename?
The drag and drop was a red herring anyway. It's any cut/copy/past of an xinclude. I tried the paste buffer, but the contents are the underlying xml markup pointed to by the xinclude, so i can't manipulate the file string. If I look at $main::selection, it is the raw xinclude markup.