Niels Grundtvig Nielsen wrote:
> "If you are linking within the same file, you can leave off the
> 'filename.xml' part. So, for a section with the ID 'mysection', you should
> use:
> #topicid/mysection" [DITA Specification]
>
> My file astOps01_publieke.dita is a topic, with id "u63698"
>
> This topic includes a section with id "z30258"
>
> By way of a test, I've wrapped the word "Damage" (not in the section
> "Schade") in an xref, and I've set the href attribute of the xref to
> #u63698/z30258
>
> The result, on saving the full ditamap to xhtml, is an html file identified
> as astOps01_pvUitbatingen.html#u63698__-__z30258 in the Firefox address bar.
> The word "Damage" is indeed a hyperlink, reported by the Firefox status-bar
> as a link to astOps01_privatieve.html#u63698__-__z30258, and it doesn't work;
> that is, clicking on the link does not move back up the long page to the
> referenced location :-{
>
> Hints and tips on how to implement this link very welcome! and I realise that
> it could be DITA question as much as or more than an XML Mind question.
> Observations on good practice and avoiding in-file links not required, as
> this is all in the context of experimental conversion on a specific document.
>
--> There is no hints, no tips. A link to a target found in the same
DITA file should have a #topic_id/element_id href attribute. Period.
See "DITA for the Impatient", "The xref and link elements",
http://www.xmlmind.com/_tutorials/DITA/index.html#link_elements
--> May be you have found a bug in XMLmind DITA Converter (AKA ditac)
which is integrated in XMLmind XML Editor.
However, I cannot reproduce this bug. Everything works just fine for me.
See attachments.
Please double-check that this isn't a Firefox cache problem and if this
isn't the case, please send me all the files needed to reproduce the
problem.
Alternatively, you may also modify the attached files in order to
reproduce the problem.
---
PS: Please specify an email subject related to your support request.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map.ditamap
Type: text/xml
Size: 295 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100106/6d3151cd/attachment-0003.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: topic1.dita
Type: text/xml
Size: 612 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100106/6d3151cd/attachment-0004.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: topic2_3.dita
Type: text/xml
Size: 788 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100106/6d3151cd/attachment-0005.xml