DITA LINK INSIDE TOPIC
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 147
- Joined: Sat Oct 19, 2013 8:21 am
DITA LINK INSIDE TOPIC
Hi,
I want to make a link within a topic
In PDF link is OK but message error in processor :
Exist a solution ?
thank you
I want to make a link within a topic
Code: Select all
<li>“Classements” <xref href="aaa">[AAA]</xref> <xref href="bbb">[BBB]</xref> [CCC] [DDD].</li>
...
<entry id="bbb">[BBB]. ccccccc </entry>
...
<p id="aaa">[AAA]. dfdfdf fdffdfd fdffdfdf </p>
Code: Select all
ID Système: D:\topics\to_xx.dita
Scénario: DITA Map PDF
fichier Input: D:\topics\to_xx.dita
Nom du moteur: DITA-OT
Gravité: error
Description: [DOTX031E]: The file file:/D:/topics/temp/pdf/aaaa is not available to resolve link information. The location of this problem was at (File = D:\topics\to_xx.dita, Element = xref:1)
URL: http://dita-ot.sourceforge.net/readme/DITA-messages.html#msgs__DOTX031E
thank you
-
- Posts: 9423
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA LINK INSIDE TOPIC
Hi,
Even if the link is in the same file, it should still refer to the element by adding the topic ID to the path like:
Please see the specs:
http://docs.oasis-open.org/dita/v1.2/os ... /xref.html
at the part which states:
Radu
Even if the link is in the same file, it should still refer to the element by adding the topic ID to the path like:
Code: Select all
<xref href="#topicID/aaa">
http://docs.oasis-open.org/dita/v1.2/os ... /xref.html
at the part which states:
Regards,If you are linking within the same file, you can leave off the "filename.dita" part. So, for a section with the ID "mysection", you should use:
#topicid/mysection
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9423
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA LINK INSIDE TOPIC
Hi,
You should have used:
If you work in Oxygen's Author visual editing mode you can use Oxygen's "Cross Reference" action to insert a reference with the proper syntax.
Regards,
Radu
You should have used:
Code: Select all
<xref href="path/to/target.dita#topicID/elementID">
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service