David 'Dox' Shevitz wrote: > Actually, I've been using XMLMind XML Editor for some time now, and with > great success. It's a wonderful product. That's why I'm confused as to > why this won't work. > > Here are the exact steps I am following. > > 1. From the File menu, select New. > 2. From the New dialog box, select Chapter (part of a modular document) > and click OK. > 3. In the new Chapter document, add text to the title and first > paragraph of the first section that appears. > 4. From the File menu, select New again. > 5. From the New dialog box, select Section (part of a modular document) > and click OK. > 6. Return to the Chapter document you just created, and select the > section to which you added text. > 7. Copy the section. > 8. Return the new Section document and select the entire section. > 9. Click the Edit menu. > > On my (windows 2000) system, the Paste option is grayed out. This is > what puzzles me. I've copied chapters to books, and sections within a > chapter to sections within other chapters, but it seems that I cannot > copy a section from a chapter into a section-only document. This is the > only circumstance under which I have had this problem. I can certainly > work around it--but I did find it an odd behavior. > > I hope I've explained what I'm doing a little better...
Yes. Everything is crystal clear now. XXE is a root element editor (as opposed to a document editor). XXE cannot replace the root element it works on. XXE can only edit the children and attributes of the root element. Therefore, you cannot replace the section of "Section (part of a modular document)", which is a root element, by the section copied from "Chapter (part of a modular document)". The *same limitation* prevents you from adding, removing, modifying (and even seeing!) comments and processing instructions which are siblings of the root element.

