It's tempting to assume (I did) that any document content exported to a file using "copyDocument" can be re-imported to the same location using the "read" and "paste" commands. This is not, however, the case. Content exported by "copyDocument" includes a DTD declaration, and unless this declaration is removed, the content cannot be re-imported using "read" and "paste". If the exported content is processed by an XSL transformation before import, then the DTD declaration is automatically removed. If, however, some other method is used to modify the exported content, then the declaration will need to be explicitly removed.
As far as I can see, this limitation is not documented, and it's just taken me a _long_ time to find it out, so I think it would be useful to document it in an appropriate location. Or maybe the "paste" command could be modified to ignore any DTD declaration? Regards, Kevin Flynn Birdstep Technology ASA Oslo, Norway +47 93433942 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20050127/81dbcf8f/attachment.htm

