Conditional content that varies between chapters
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 4
- Joined: Thu Aug 22, 2019 9:56 pm
Conditional content that varies between chapters
Post by devonapple »
I have a piece of text that I want to say "when two X do a thing" or "when two Y do a thing" depending on whether that piece of text is in chapter X or Y. I know conditionals are used as a document-wide means of changing which content displays, but can individual chapters provide their own conditional specifications? Apologies if this is extremely basic: I'm having trouble getting anything meaningful with the search terms.
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Conditional content that varies between chapters
Hi,
Key scopes should do what you want:
https://blog.oxygenxml.com/2015/08/dita ... on-of.html
Regards,
Radu
Key scopes should do what you want:
https://blog.oxygenxml.com/2015/08/dita ... on-of.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4
- Joined: Thu Aug 22, 2019 9:56 pm
Re: Conditional content that varies between chapters
Post by devonapple »
Thank you! This sounds like the ticket. I'll work on puzzling through these.
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