If clause
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 33
- Joined: Thu Jun 09, 2022 2:49 pm
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: If clause
Hi Mikael,
To achieve something close to what you want I would probably use links with @keyref for something like this, and this can be done in two ways:
1)
You can choose to define the key so that in one published DITA Map the key resolves to one topic and in another published DITA Map to another.
2)
If in a certain published DITA Map the key "targetTopicKeyName" is not defined, according to the DITA specification the value of the @href attribute would be used instead.
Regards,
Radu
To achieve something close to what you want I would probably use links with @keyref for something like this, and this can be done in two ways:
1)
Code: Select all
<xref keyref="targetTopicKeyName"/>
2)
Code: Select all
<xref keyref="targetTopicKeyName" href="fallbackTopic.dita"/>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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