I'm an XXE expert? Cool! Do I get a certificate of some kind? :-) I'm not sure I understand your answer about not understanding my question, but I'll elucidate. I know it's not possible to directly paste into a different document (because of the macro context issue). But I was wondering if there was some handy workaround (perhaps a "read" of the target file and writing the clipboard contents into it somehow).
Anyway, since posting my question, I've decided to get around the problem with a copyDocument (selection="true") and a transform. What I'm trying to build is an easy way to convert a DITA section into a new topic file. If you're interested in providing this in your addon, but I'd be happy to let you have a look at it once I'm done. -----Original Message----- From: Hussein Shafie [mailto:[email protected]] Sent: Friday, May 05, 2006 1:13 AM To: Mark Fletcher Cc: xmleditor-support at xmlmind.com Subject: Re: [XXE] Any way to get around active document context limitation? Mark Fletcher wrote: > A while ago, I asked a question about why XXE.saveAs wasn't working. > The answer was that my macro could only operate in the context of the > document which called it. Well, I solved that problem by doing a > <copy> process comand instead of XXE.saveAs. Great! > But I now need a macro to do a cut and paste between two files. Is > there any way to do this? I'm sorry but I don't understand your question. (Knowing that your are an XXE expert, the answer to your question is so obvious that I'm sure I don't really understand it.)

