RFE Edit embedded document

Leif H Silli <[email protected]> Sat, 26 Nov 2022 17:21:43 +0100
Newsgroups gmane.editors.xxe.general
Organization Lenk.no/Silli
Message-ID <[email protected]>
When I work with XMLmind XML editor, I almost always work with compound 
documents with Xinclude includes.

The structur of our documents tend to look like this:

Book-document (which embeds)
   Chapter 1-document (which embeds)
       Section 1 of Chapter 1-document
       Section 2 of Chapter 1-document
   Chapter 2-document (which embeds)
       Section 1 of Chapter 2-document
       Section 2 of Chapter 2-document
   [ … etc …]

Example issue description:

0) I open the Book-document and find something to edit in Section 2 of 
Chapter 1

1) XXE allows me to Ctrl-Click that section, so that I get a Ctrl-Click 
menu from where I can selct the submenu “Edit Referenced Document” .

2) The very text of the above Ctrl-Click menu implies that when the 
referenced document gets opened, I shall immediate be able to edit 
Section 2 of Chapter 1-document.

   ** (Note: One may say that there are actually - in this case - two 
referenced documents: The Chapter 1-document as well as the Section 2 of 
Chapter 1-document. However, since the mouse pointer actually points to 
a par of the Section 2 of Chapter 1-document, it seems naturally to 
think that that is the document that is referenced) **

3) But instead, what happens is that the parent document – the Chapter 
1-document – gets opened.

4) This means that in order to edit the Section 2 of Chapter 1-document, 
I must now repeat step «1)» on the Chapter 1-document: I must point to 
the Section 1 of Chapter 1-document and select “Edit referenced 
document”.

    ** (NOTE: If I had a subsection document, I would have had to 
repeated step 1) yet another time.) **

Conclusion:

I find the current two-steps solution behavior tedious and confusing. 
For instance, the book I work on right now, have near 20 chapters, of 
which almost every chapter has several sections. Each time I want to 
edit such a section, I must perform the two steps described above.

Proposal:

I suggest instead a one-step solution: when one points to a part that is 
embedded in another document that is also embedded, then it is the 
innermost embedded document - the exact part that you are pointing to – 
that should become opened.


Leif Halvard Silli

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support