Tagging "production" vs. "non-production" content in DITA topics
Posted: Fri Aug 17, 2018 10:58 pm
I am currently migrating WebHelp topics authored in RoboHelp to DITA topics authored in Oxygen. I need a way to control the environment (Production vs. QA or Test) to which topics or content chunks within a topic should be published.
Example: I have a topic or a content chunk that I only want to display in the QA and Test environments. In RoboHelp, I apply a conditional tag to the topic or content chunk. When I compile the help output for the QA and Test environments, I include the conditional tag in my build. When I compile the help output for the Production environment, I exclude the conditional tag from my build.
Is there a way to achieve this same control with DITA topics in Oxygen?
In Oxygen, I am using a DITA OT transform to output the topics as JSON objects. The JSON objects in turn are consumed by our portal using an API that we developed.
Example: I have a topic or a content chunk that I only want to display in the QA and Test environments. In RoboHelp, I apply a conditional tag to the topic or content chunk. When I compile the help output for the QA and Test environments, I include the conditional tag in my build. When I compile the help output for the Production environment, I exclude the conditional tag from my build.
Is there a way to achieve this same control with DITA topics in Oxygen?
In Oxygen, I am using a DITA OT transform to output the topics as JSON objects. The JSON objects in turn are consumed by our portal using an API that we developed.