How to hide some topics
Are you missing a feature? Request its implementation here.
How to hide some topics
Taking this page as an example, is there any way to hide some topics under Publishing? For example, if I want to hide Transformation Scenarios and all the topics under it, how can I achieve that?
-
- Posts: 529
- Joined: Thu May 02, 2019 2:32 pm
Re: How to hide some topics
Post by chrispitude »
Hi Felix,
If you want to exclude the topic from the navigation/TOC but keep the topic itself in the output, you could try setting the @toc="no" attribute on the topic reference in the map.
If you want to exclude the topic completely from the output, then you could set a profiling attribute like @props="hide" on the topic reference in the map, then apply a DITAVAL filtering file like this:
- Chris
If you want to exclude the topic from the navigation/TOC but keep the topic itself in the output, you could try setting the @toc="no" attribute on the topic reference in the map.
If you want to exclude the topic completely from the output, then you could set a profiling attribute like @props="hide" on the topic reference in the map, then apply a DITAVAL filtering file like this:
Code: Select all
<val>
<prop att="deliveryTarget" action="exclude"/>
<prop att="deliveryTarget" val="olh" action="include"/>
</val>
Re: How to hide some topics
Thanks, my life saver!chrispitude wrote: ↑Wed Jun 22, 2022 2:40 pm Hi Felix,
If you want to exclude the topic from the navigation/TOC but keep the topic itself in the output, you could try setting the @toc="no" attribute on the topic reference in the map.
If you want to exclude the topic completely from the output, then you could set a profiling attribute like @props="hide" on the topic reference in the map, then apply a DITAVAL filtering file like this:
- ChrisCode: Select all
<val> <prop att="deliveryTarget" action="exclude"/> <prop att="deliveryTarget" val="olh" action="include"/> </val>
Jump to
- Oxygen XML Editor
- ↳ Announcements
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ 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 Services Market
- ↳ Offer a Service