How to hide/show content in Oxygen Author

Oxygen general issues.
julturner
Posts: 3
Joined: Thu Oct 14, 2021 10:11 pm

How to hide/show content in Oxygen Author

Post by julturner »

Hello - Need to hide (exclude) a an entire chapter for a version 2.0. The chapter that I need to hide existed in a previous version 1.0.

Also need to show (include) a chapter from version 2.0 that was excluded from a previous version 1.0 of the book. Can something help guide me in the direction to compete these actions. Thanks!
Last edited by julturner on Fri Oct 15, 2021 10:39 pm, edited 1 time in total.
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to hide/show content in Oxygen Editor

Post by Radu »

Hi,

What XML vocabulary are you using? Are you publishing it using Oxygen's bundled publishing processes or some custom in-house process?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
julturner
Posts: 3
Joined: Thu Oct 14, 2021 10:11 pm

Re: How to hide/show content in Oxygen Author

Post by julturner »

Hi Radu,
'
Thank you for your reply. Am using ditaval xls and cvs files to edit the values in the cells with exclude and include, I use exclude as a cell value to hide the chapter in the book file and then include to show the chapter. Then, I publish the book files to Jenkins. If there is another process to hide/show, I will do it. Thank you sir.

Julie
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to hide/show content in Oxygen Author

Post by Radu »

Hi,

You probably need to apply a profiling attribute with a certain value on the topicref in the DITA Map:
https://www.oxygenxml.com/doc/versions/ ... butes.html
and then define an exclude filter in the ditaval file for that profiling attribute:
https://www.oxygenxml.com/dita/1.3/spec ... ments.html
When you use the DITA OT to publish from Jenkins use the "args.filter" parameter to refer to the DITAVAL file:
https://www.dita-ot.org/dev/parameters/ ... rgs.filter

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply