Profile a single topic differently in multiple places in a DITA map

Post here questions and problems related to editing and publishing DITA content.
cfurlin
Posts: 9
Joined: Wed Nov 02, 2016 1:48 am

Profile a single topic differently in multiple places in a DITA map

Post by cfurlin »

I have several topics that are similar in structure but with different phrases and I'd like to write a hybrid topic and use in multiple places in a DITAmap.

Here is an example element:

Code: Select all

<p>Setup a <ph platform="one">Platform One</ph><ph platform="two">Platform Two</ph> in Microsoft Azure.</p>
I have two PH tags with different platforms and I'd like to add this file in two different places in my map but have one file profiled to platform="one" and the other to platform="two". In the output each topic reference would filter to only using one of the phrases.

Is this even possible? I tried adding the profile condition to the topic reference for each but it still renders both.

I'm guessing my approach is wrong. Suggestions?

---
Chris
Radu
Posts: 9436
Joined: Fri Jul 09, 2004 5:18 pm

Re: Profile a single topic differently in multiple places in a DITA map

Post by Radu »

Hi Chris,

What you want can only be done using DITA 1.3 features.
You can either do that using DITA key scopes:

http://blog.oxygenxml.com/2015/08/dita- ... on-of.html

or using DITA 1.3 branch filtering:

http://blog.oxygenxml.com/2015/09/dita- ... -next.html

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