Cross-referenceing of Reuse Content
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 6
- Joined: Thu Nov 15, 2018 11:26 pm
Cross-referenceing of Reuse Content
Hi All,
I am using Oxygen Author 20 with DITA 1.2
I have two Topics:
I know that Key & Keyref are applied at the Map level. And I do not have access to ScopeKey.
Is there any alternative at Topic Level, so reused content points to Topic in its own Map rather than pointing to Topic in other Map?
I hope you understand my question.
Thank you.
I am using Oxygen Author 20 with DITA 1.2
I have two Topics:
- Topic-1 and Topic-2
- Topic-1 has Figure-1
- Topic-2 has X-ref that says "See Fig-1"
- Map-1 uses Topic-1 and Topic-2
- Map-2 also uses Topic-1 and Topic-2
- Map-1, Topic-2 cross-ref points to Topic-1 Fig-1 of Map-1. That is good
- But in Map-2, Topic-2 cross-ref also points to Topic-1 Fig-1 of Map-1
I know that Key & Keyref are applied at the Map level. And I do not have access to ScopeKey.
Is there any alternative at Topic Level, so reused content points to Topic in its own Map rather than pointing to Topic in other Map?
I hope you understand my question.
Thank you.
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Cross-referenceing of Reuse Content
Hi,
Do you publish Map1 and Map2 individually or do you have a MainMap which refers both to Map1 and Map2, and you publish the MainMap?
I would understand things better if I would have a small sample DITA project to test.
Regards,
Radu
Do you publish Map1 and Map2 individually or do you have a MainMap which refers both to Map1 and Map2, and you publish the MainMap?
I would understand things better if I would have a small sample DITA project to test.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Thu Nov 15, 2018 11:26 pm
Re: Cross-referenceing of Reuse Content
Hi,
I have MainMap (as a Book) which includes Map1 (as Chapter1) and Map2 (as Chapter2).
Map1 and Map2 both use same Topics (Topic1 & Topic1).
Hope this adds some clarity to your request.
I will prepare small sample for you but how do I attache it to this Post?
or should I just write XML Codes here?
Thanks.
I have MainMap (as a Book) which includes Map1 (as Chapter1) and Map2 (as Chapter2).
Map1 and Map2 both use same Topics (Topic1 & Topic1).
Hope this adds some clarity to your request.
I will prepare small sample for you but how do I attache it to this Post?
or should I just write XML Codes here?
Thanks.
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Cross-referenceing of Reuse Content
Hi,
Our email address is "support@oxygenxml.com" if you want to send us small samples.
I think to make this work you would need to use DITA key scopes:
https://www.oxygenxml.com/dita/1.3/spec ... copes.html
For example the content of map1.ditamap would look like this:
and inside topic2.dita you would use a keyref to refer to the figure in topic1.dita:
The content of map2.ditamap would be similar.
Regards,
Radu
Our email address is "support@oxygenxml.com" if you want to send us small samples.
I think to make this work you would need to use DITA key scopes:
https://www.oxygenxml.com/dita/1.3/spec ... copes.html
For example the content of map1.ditamap would look like this:
Code: Select all
<map keyscope="map1">
<title>Growing Flowers</title>
<topicref href="topic1.dita" keys="topic1"/>
<topicref href="topic2.dita"/>
</map>
Code: Select all
<xref keyref="topic1/figId"/>
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