On 25 Apr 2017, at 17:59, Hussein Shafie wrote:
On 04/22/2017 12:16 PM, Leif Halvard Silli wrote:
I use xinclude inside XHTML documents. But I find it very difficult
to
alter the file names of the included files.
If I embed ‘fileA’ inside ‘motherDoc’, and if I change the
file name of
‘fileA’ to ‘fileB’ (for instance, one can use the ‘Open
Current Folder
file navigation pane in order to change the file name) and if
‘motherDoc’ is open (or gets opened) then XMLmind XML Editor will
issue
endless many warnings (in the form of dialog windows) that it cannot
find ‘fileA’.
I'm sorry but I don't see how this (endless many warnings in the form
of dialog windows) could happen given the way transclusion is
implemented.
Anyway, I cannot reproduce this behavior.
I seem unable to reproduce, myself, in 7.4. Will report back if I get
more to say.
But the current behavior makes me
wanto edit the ‘motherDoc’ in my text editor rather than in
XMLmind XML
editor.
You should give "View|XML Source" a try. See
http://www.xmlmind.com/xmleditor/_distrib/doc/help/xml_source_menu_item.html
Well, I did use that addon.
--> Even simpler, it's also possible to use the Attributes tool to
change the href attribute of the xi:include element then save and
reopen the XML file in XXE.
I did not do this.
When transclusion fails, the xi:include elements are displayed as is
in the styled view. Such xi:include elements may be edited from within
XXE like any other element.
See second attached screenshot.
(Was tested in XMLmind XML editor verison 7.3)
--
leif halvard silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support