Peter Desjardins wrote:
>>> I made some changes to a file, then noticed that an
>> xi:included file
>>> needed changes.  I made the changes in the included file,
>> Using XMLMind XML Editor or using an external text editor?
> 
> All changes were made using XMLMind XML Editor.  I had the two files open in 
> different tabs of the same instance.
> 
>> Did you save the included document before switching to the
>> master document?
> 
> Yes.
> 
>> then returned to the original file.  I wanted to see my
>> changes and clicked View > Redraw.  All changes to the file were lost.
>> In the master document or in the included document?
> 
> The changes were lost in the master document.
> 
> One detail that I didn't give you before is this:  The change to the master 
> document was to add a new xi:included section.  Then I opened that very same 
> section in a separate tab, edited it, and then saved it.  Finally, I switched 
> back to the master document and clicked View > Redraw.  Note that I had never 
> saved the new xi:include in the master document.
> 

I'm really sorry but even after trying to reproduce what you have 
described, I didn't manage to reproduce the problem.

All my tests were conducted on a DocBook 5 document.

You say:

``The change to the master document was to add a new xi:included 
section. *Then* I opened that very same section in a separate tab''.

I don't really see how you can do this in a natural, simple, way. In 
order to add a new xi:included section, you need [1] to open this 
section in a separate tab [2] to use "Copy As Reference" (Ctrl-Shift-C) 
on the root element of this section [3] to switch back to the master 
document [4] to use "Paste After" (Ctrl-W) to paste the reference after 
an existing reference. Note that the order of actions is different from 
what you describe.

So I suppose that:

[a] You closed the section just after using "Copy As Reference" on it in 
order to be able to reopen it later. Did that too: no problem.

[b] OR you used the Include tool to insert the reference to the section. 
Did that too: no problem.

[c] OR you have installed the add-on called "Customization of the 
DocBook 5 configuration allowing to edit <xi:include> elements by hand" 
and inserted the <xi:include> element by hand. Didn't test that.


Reply via email to