When I put something into the clipboard, it will be in an XXE-specific
format ("<ns:clipboard" etc.), so it's only useful within XXE. (OK,
except if the selection didn't crossed any element boundaries.) But an
important goal of the clipboard is to exchange data between different
applications, so I think it wouldn be more convenient if you put the
data into the clipboard in two formats: the XXE-specific format with
MIME type "application/x-java-serialized-object; class=you.know.What",
and then the selection converted to plain text. The first is possible
if you create a java.awt.datatransfer.Transferable that supports a
flavor like `new DataFlavor(you.know.What.class, "XXE")`. And the
text/plain format shouldn't contain any markup; think about
copy-pasting into a Word or an e-mail. Actually, it can be quite
annoying that it doesn't work, once XXE becomes your second "MS Word".However, you may often want to copy-paste XML markup from XXE edited stuff (without all those ns:clipboards and odd line-breaks of course), so most certainly a "Edit / Copy XML source" command should exist under "Edit / Copy". (I needed this last a lot when working both with XXE-edited and non-XXE-edited XML-s at once.) -- Best regards, Daniel Dekany

