Thank you, Hussein!
(By the way, I think there's a typo on the http://www.xmlmind.com/xmleditor/_distrib/doc/help/viewMenu.html
page. In the first example, the second instance of "chap2.xml"
looks like it should be "chap3.xml".
--Andy
On 10/23/2018 7:28 AM, Hussein Shafie
wrote:
On
10/22/2018 11:38 PM, Andy Black wrote:
It is not unusual for us to have a
situation where there is a main
document (let's call it A) that contains a referenced document
(let's
call it B) that also contains another referenced document (let's
call it
C). So it's a case of what one might call a double nesting of
documents.
The "Options / Preferences / Save / Automatically update
references in
modular documents" check box is checked. This is with XXE
version 8.2.0.
Suppose we are editing A and use the "Edit Referenced Document"
command
to go to B and then immediately while in B use the "Edit
Referenced
Document" command to go to C. If we make a change in C (and
save it),
return to B via the "Edit Referencing Document" command and then
return
to A (also using the "Edit Referencing Document" command), the
changes
made in C are not present until we reload document A afresh (at
least,
that's how we've gotten it to be present).
If, on the other hand, we go from A to B to C, make a change in
C (and
save it), return to B, make a change (and save it), and then
return to
A, any changes in C are now present in A.
That's right. We are well-aware of this limitation.
So it looks like one has to make some kind of change (or at
least do a
save operation) at each point along the way for the changes in
the
nested document to surface in the main document. Is this by
design? If
not, is there another way of getting changes made in a doubly
nested
file to appear without making a (possibly no-op) change in the
middle
layer(s) and saving them?
Sure. Select "View|Redraw" (Ctrl+L) in document A after saving the
change made in document C.
("View|Redraw" not needed in document B as this is automatic after
saving a change made in document C)
See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/viewMenu.html
|
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support