David 'Dox' Shevitz wrote:
> I have a question: I have a Chapter document, which contains multiple 
> sections. Some of those sections I want to move into their own files, so 
> I can re-use them. Here are the steps I follow:
> 
> 1. Open a new "section" document in XMLMind.
> 2. From the source document, select the desired section.
> 3. Copy the section.
> 4. In the new section document, select the section.
> 5. Paste the section.
> 
> I would expect the new section to appear. However, it does not. If I add 
> a section within the new section document, I can paste the new content 
> in just fine.
> 
> Am I not understanding something? Or should this actually work?

This works without any problem.

[1] Select a section from source document. Copy it. You'll see the word 
"section" appear near the clipboard icon at the bottom of the window.

[2] Go to destination document. This destination document must be 
``compatible'' with source document (e.g. DocBook and DocBook, DocBook 
and Simplified DocBook, etc).

[a] If you are using *two* different instances of XMLmind XML Editor, 
move your caret one line up or select something different (that is, 
change the editing context) until you'll see the word "section" appear 
near the clipboard icon at the bottom of the window. (This is a known 
and documented pitfall.)

[b] Select ``the position'' where you want to paste the copied section 
and from there, depending of what you have selected, you need to use 
"Paste" or "Paste Before" or "Paste After".

* If a section is selected, using "Paste" overwrites selected section 
with copied section. (This is the case you describe.)

* If a section is selected, using "Paste After" adds copied section 
after selected section.

* If a title is selected, using "Paste After" will not work because this 
is not allowed by the DTD.

* If a para is selected, using "Paste After" will not work, unless the 
para is the last element of its parent section (because the DTD says so).

* etc, etc, etc.

Please, take the time to read the tutorial 
http://www.xmlmind.com/xmleditor/_distrib/docs/user/userguide2.html#id.s2 
otherwise you'll have hard times with XMLmind XML Editor (which has not 
been designed to resemble a word processor or other XML editors).

---
PS: Copying an pasting multiple sections at once works fine too.


Reply via email to