Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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?
Thanks, Clay.
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.
Any thoughts?
I forgot the flag to include the start tag, which when 1 gives the xinclude markup. Seems odd behavior, but I'll take it.