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...

Thanks,

Dave

Hussein Shafie wrote:

> 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.
>
>
> -- 
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support



Reply via email to