Issues with profiling inisde reusable components
Posted: Fri Oct 20, 2023 4:08 pm
Hi there!
I've got an issue with profiling inside reusable content.
I have a DITA topic with some profiled content. For example, it could be a list of items that should appear in the output depending on the platform:
The topic is in a ditamap with a ditaval file. For example, to include content intended for the "course" platform and exclude content intended for the "help" platform
When I create a PDF using a transformation scenario in oXygen 23.1, the content of the ditamap is profiled well according to the ditalav file. I get rid of "help" content, the "course" content is in the pdf.
Issues come when I create a reusable component using this profiled list. So now the list with profiled items is in a reusable topic, and my topic in the ditamap has a conref link to this reusable topic with that profiled list. When I create a pdf again, the list contains all the items including "help" ones that should be omitted according to the ditaval file (and that were omitted, when the list was directly in the topic).
Is it a known limitation? I've googled a bit and have found nothing. If not, could you please advise me on what could I do to profile content inside reusable components so that it works?
I've got an issue with profiling inside reusable content.
I have a DITA topic with some profiled content. For example, it could be a list of items that should appear in the output depending on the platform:
Code: Select all
<ul>
<li>Some content</li>
<li platform="course">Course content</li>
<li platform="help">Help content</li>
</ul>
Code: Select all
<val>
<prop action="exclude" att="platform" val="help"/>
<prop action="include" att="platform" val="course"/>
</val>
Issues come when I create a reusable component using this profiled list. So now the list with profiled items is in a reusable topic, and my topic in the ditamap has a conref link to this reusable topic with that profiled list. When I create a pdf again, the list contains all the items including "help" ones that should be omitted according to the ditaval file (and that were omitted, when the list was directly in the topic).
Is it a known limitation? I've googled a bit and have found nothing. If not, could you please advise me on what could I do to profile content inside reusable components so that it works?