Mark Fletcher wrote: 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).
* A process command ending by a <read> element may return any piece of text, including XML. See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/read.html * Command paste accepts literal XML at the end of its parameter. This ``literal XML'' - must start with <?xml version="1.0"?> - must be wrapped into a <ns:clipboard xmlns:ns="http://www.xmlmind.com/xmleditor/namespace/clipboard"> envelope, unless it is a single element. See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/paste.html The combination of the two commands in a macro allows to copy and paste XML nodes between an external XML document and the document being edited.

