How to hide some topics
Are you missing a feature? Request its implementation here.
-
- Posts: 26
- Joined: Thu Jun 09, 2022 11:04 am
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: 922
- 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>
-
- Posts: 26
- Joined: Thu Jun 09, 2022 11:04 am
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>
-
- Posts: 3
- Joined: Tue Sep 27, 2022 3:00 pm
Re: How to hide some topics
<val>
<prop att="deliveryTarget" action="exclude"/>
<prop att="deliveryTarget" val="olh" action="include"/>
</val>
Dont understand the second line with "include" action. The intention is to exclude, correct?
<prop att="deliveryTarget" action="exclude"/>
<prop att="deliveryTarget" val="olh" action="include"/>
</val>
Dont understand the second line with "include" action. The intention is to exclude, correct?
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: How to hide some topics
Post by chrispitude »
Hi vidven,
It looks like I posted the wrong DITAVAL file. The file I posted shows only @deliveryTarget="olh" content.
The DITAVAL file I should have posted to hide @props set to any value is this:
Thanks for catching this!
It looks like I posted the wrong DITAVAL file. The file I posted shows only @deliveryTarget="olh" content.
The DITAVAL file I should have posted to hide @props set to any value is this:
Code: Select all
<val>
<prop att="props" action="exclude"/>
</val>
-
- Posts: 3
- Joined: Tue Sep 27, 2022 3:00 pm
Re: How to hide some topics
Thanks, Chris.
Now one more doubt:
To make the change bar visible on TOC, I try to apply it to <Title> element. When published, it is prefixed with pageFist followed by the page name, which is weird and different from page titles of other pages.
However, this applies for a few such topics, not everywhere though.
What is the correct way to mark a topic in TOC to indicate that there is a change in that topic.
Regards,
Vidven
Now one more doubt:
To make the change bar visible on TOC, I try to apply it to <Title> element. When published, it is prefixed with pageFist followed by the page name, which is weird and different from page titles of other pages.
However, this applies for a few such topics, not everywhere though.
What is the correct way to mark a topic in TOC to indicate that there is a change in that topic.
Regards,
Vidven
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: How to hide some topics
Post by chrispitude »
Hi vidven,
In this question, are you hiding topics with @props, or are you marking them as revised with @rev?
And can you confirm which transformation type (WebHelp or PDF Chemistry) this question is for?
In this question, are you hiding topics with @props, or are you marking them as revised with @rev?
And can you confirm which transformation type (WebHelp or PDF Chemistry) this question is for?
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