I was testing the Webhelp transformation with Oxygen yesterday, and came across a problem: if I create a DITA map file ( a bookmap file to be exact) that topic-references DITA files that are not in the same directory as the DITA map file, although Oxygen could still transform files to Webhelp, but when you click the topic from the dropdown menu in Webhelp (that is: the topic whose source file is located outside the DITA map directory), the link would not work. Yet if all the topic files are located in the same directory as the DITA map file, Oxygen would transform a flawless Webhelp output. Is it that I might not have followed the DITA best practice? Or is it a problem with Oxygen's webhelp output mechanism? If the problem is the former, then I would say isn't DITA map supposed to work that way - referencing topics that are located anywhere, and not limited to topics that are located in the same directory?
Just to give you an idea, here is a bare bone structure of my DITA map:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
<booktitlealt class="- topic/ph bookmap/booktitlealt ">test</booktitlealt>
<organizationinfo class="+ topic/data xnal-d/organizationinfo ">
<namedetails class="+ topic/data xnal-d/namedetails ">
<addressdetails class="+ topic/ph xnal-d/addressdetails "><thoroughfare
class="+ topic/ph xnal-d/thoroughfare "/><locality><localityname
class="+ topic/ph xnal-d/localityname "/></locality><administrativearea
class="+ topic/ph xnal-d/administrativearea "/><locality><postalcode
class="+ topic/ph xnal-d/postalcode "/></locality>
<country class="+ topic/ph xnal-d/country "/></addressdetails>
<contactnumber class="+ topic/data xnal-d/contactnumber "/>
When Oxygen transformed these files to Webhelp, the links to 1.dita to 7.dita did not work, any input is appreciated.