Hi Hussein Thank you for your feedback. Sorry, in my mail I forgot to attach my Ditamap-File.
I tested WebHelp output with your BookMap and it works fine. With my Ditamap it works still not. Maybe something with the Ditamap is wrong. But I didn't see what it could be. I attached both Maps. technotes_xmlmind.ditamap (which ist your map with the correct path to my DITA-Files). This map works fine. tech_notes-opacconeinstallation.ditamap (which is my original map). With this map the link to "Installation" in technotes_OpaccOneInstallation_uebersicht.dita works not. The link to technotes_OpaccOneInstallation_uebersicht.html in the TOC works. In the moment my workaround is, to edit manually the link in the generated technotes_OpaccOneInstallation_uebersicht.html Sincerely Martin Schild -----Ursprüngliche Nachricht----- Von: Hussein Shafie [mailto:huss...@xmlmind.com] Gesendet: Dienstag, 6. Februar 2018 17:30 An: Schild Martin <martinsch...@opacc.ch> Cc: 'xmleditor-support@xmlmind.com' <xmleditor-support@xmlmind.com>; ditac-supp...@xmlmind.com Betreff: Re: Convert DITA-File to WebHelp [FIXED ATTACHED MAP] Schild Martin wrote: > In my DITA-File, I have a list with xref-Elements. (See attached > files.) > > technotes_OpaccOneInstallation_uebersicht.dita contains link to > technotes_OpaccOneInstallation_Installation.dita > > > > When I convert the DITA-Files to WebHelp, one of the list-Elements becomes a > reference to a file. > > In this context, that's wrong. > > The links to the other DITA-Files are OK. In the converted html-File the > other links are working properly. > > > > Part from the converted html-File (output) > > > > <ul class="compact-ul"> > > <li class="li"> > > <div class="p"><b class="b"><a class="xref" > href="file:/D:/Repositories/Doc/Content/de/topics/opaccone/technotes/s > ystem-admin/technotes_OpaccOneInstallation_Installation.dita">Installa > tion</a></b> > > (ein Mal vorhanden) > > </div> > > <div class="p">Dieser Abschnitt enthält Informationen die pro > > Installation nur einmal vorkommen. > > </div> > > </li> > > <li class="li"> > > <div class="p"><b class="b"><a class="xref" > href="technotes_OpaccOneInstallation_SQL.html#OpaccOneInstallation_SQL > ">SqlDatabase</a></b> > > (ein Mal vorhanden) > > </div> > > <div class="p">Dieser Abschnitt enthält die für die > > SQL-Datenbank notwendigen Konfigurationsangaben. > > </div> > > </li> > > > > I can't see what is the error. But it seems, that something is wrong in my > DITA-Files. I'm sorry but I cannot reproduce this issue using the 2 topic files you sent us and the very simple bookmap attached to this email. (Give it a try and you'll see it works fine.) My guess is that your DITA *map* never references file "technotes_OpaccOneInstallation_Installation.dita". Only *topic* "technotes_OpaccOneInstallation_uebersicht.dita" contains a link to "technotes_OpaccOneInstallation_Installation.dita". In such case, XMLmind DITA Converter reports this warning: --- file:/home/hussein/tmp/opacc/technotes_OpaccOneInstallation_uebersicht.dita:35:63: "file:/home/hussein/tmp/opacc/technotes_OpaccOneInstallation_Installation.dita", href points outside processed topics --- then considers "technotes_OpaccOneInstallation_Installation.dita" as being an external resource. Hence the absolute file URL. Note that running "Map|Check Map" (very handy; see http://www.xmlmind.com/xmleditor/_distrib/doc/dita/help-2.html#map_menu) at any time will cause XMLmind to also report this warning. Note that this is a documented limitation of XMLmind DITA Converter (AKA ditac): --- - Ditac reports a "topicB, href points outside processed topics" warning when topicA references topicB and topicB is not referenced in the map. In order to suppress this warning, add to the map a <topicref> having attribute toc="no" and pointing to topicB. --- http://www.xmlmind.com/ditac/_distrib/doc/manual/limitations.html#limitations If this is not a mistake (e.g. your map is not a work in progress), the only workaround is to add somewhere in your map a topicref (of any kind) having href="technotes_OpaccOneInstallation_Installation.dita" and toc="no".
technotes_xmlmind.ditamap
Description: technotes_xmlmind.ditamap
tech_notes-opacconeinstallation.ditamap
Description: tech_notes-opacconeinstallation.ditamap
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support