Am 9/14/2020 um 4:26 PM schrieb Hussein Shafie:
I'm sorry but I didn't manage to reproduce this issue here at XMLmind
Software.
My DocBook test case: (excerpts)
---
<para>If you are editing
<filename>docbook-modular-book.xml</filename> and
now want to edit <filename>chapter.xml</filename>, click anywhere
in this
chapter and then use<indexterm class="singular">
<primary>Edit|Reference sub-menu</primary>
</indexterm> <inlinemediaobject>
<imageobject>
<imagedata fileref="editInclusionAction.png"/>
</imageobject>
</inlinemediaobject> <menuchoice>
<guimenu>Edit</guimenu>
<guisubmenu>Reference</guisubmenu>
<guimenuitem>Edit Referenced Document</guimenuitem>
</menuchoice> (<keycombo>
<keycap>Ctrl</keycap>
<keycap>Shift</keycap>
<keycap>E</keycap>
</keycombo>).</para>
---
is converted to: (Notice <a id="d5e85" class="indexterm"/>)
---
<p>If you are editing <code
class="filename">docbook-modular-book.xml</code> and now want to edit
<code class="filename">chapter.xml</code>, click anywhere in this
chapter and then use<a id="d5e85" class="indexterm"/> <span
class="inlinemediaobject"><img
src="resources/editInclusionAction.png"/></span> <span
class="guimenu">Edit</span> → <span
class="guisubmenu">Reference</span> → <span class="guimenuitem">Edit
Referenced Document</span> (<span
class="keycap"><strong>Ctrl</strong></span>+<span
class="keycap"><strong>Shift</strong></span>+<span
class="keycap"><strong>E</strong></span>).</p>
---
by all the DocBook stylesheets generating HTML and XHTML I've used,
including the profiling stylesheet generating multi-page XHTML5.
Okay, I'm sorry, it's my fault.
I changed the generated file's extension from "xhtml" to "html",
assuming it would work as hybrid/"polyglott" (X)HTML. This messed up the
markup.
-Gerd
--
Dr. Gerd Wagner
(1) Professor, Brandenburg University of Technology, Germany
(2) Adjunct Associate Professor, Old Dominion University, USA
Email: g.wag...@b-tu.de Tel: (+49|0) 355.69.2397
Web: http://oxygen.informatik.tu-cottbus.de/IT
--
(1) Chair of Internet Technology
Brandenburg University of Technology
Cottbus, Germany
--
(2) Department Modeling, Simulation
and Visualization Engineering
Old Dominion University
Norfolk, VA, USA
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/xmleditor-support