Use nested keydef
Oxygen general issues.
-
- Posts: 1
- Joined: Wed May 29, 2024 1:48 pm
Use nested keydef
Post by FelipeFonseca »
Dear support,
I am trying to achieve to achieve the following:
- Create a keydef1 with a key="x" that is the one I use for different ph in text depending on a profiling (A or B). I was trying to nest a keydef2--->key="y" (to be chosen when profile A is activated) that displays a link from certain href1, and a keydef3 -->key="z" (to be chosen when profile B is activated) that displays a link from certain href2.
Thank you for your collaboration
I am trying to achieve to achieve the following:
- Create a keydef1 with a key="x" that is the one I use for different ph in text depending on a profiling (A or B). I was trying to nest a keydef2--->key="y" (to be chosen when profile A is activated) that displays a link from certain href1, and a keydef3 -->key="z" (to be chosen when profile B is activated) that displays a link from certain href2.
Thank you for your collaboration
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Use nested keydef
Hi,
I'm not sure if I understand your needs. Maybe you could post the DITA Map XML structure you attempted to make.
A <ph keyref> only expands to plain text content, it cannot expand to text + link content:
https://www.oxygenxml.com/dita/1.3/spec ... -text.html
If you want to reuse some content which resolves both to text and possible links, you would probably need to define that content inside a topic and use conkeyrefs.
Regards,
Radu
I'm not sure if I understand your needs. Maybe you could post the DITA Map XML structure you attempted to make.
A <ph keyref> only expands to plain text content, it cannot expand to text + link content:
https://www.oxygenxml.com/dita/1.3/spec ... -text.html
If you want to reuse some content which resolves both to text and possible links, you would probably need to define that content inside a topic and use conkeyrefs.
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