Tagging "production" vs. "non-production" content in DITA topics
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 24
- Joined: Wed Jan 04, 2017 3:48 pm
Tagging "production" vs. "non-production" content in DITA topics
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.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Tagging "production" vs. "non-production" content in DITA topics
Hi,
You could use the profiling support in oXygen to include/exclude some resources in the resulted output.
Fore more information on using profiling attributes/condition sets or using a ditaval file to filter those resources, please consult our User-Guide:
https://www.oxygenxml.com/doc/versions/ ... odes2.html
https://www.oxygenxml.com/doc/versions/ ... -file.html
There are also some video demonstrations that show how profiling works in oXygen.
Just type "profiling" in the search filter from the Video resources section on our website to see only the relevant videos.
Regards,
Costin
You could use the profiling support in oXygen to include/exclude some resources in the resulted output.
Fore more information on using profiling attributes/condition sets or using a ditaval file to filter those resources, please consult our User-Guide:
https://www.oxygenxml.com/doc/versions/ ... odes2.html
https://www.oxygenxml.com/doc/versions/ ... -file.html
There are also some video demonstrations that show how profiling works in oXygen.
Just type "profiling" in the search filter from the Video resources section on our website to see only the relevant videos.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
Return to “DITA (Editing and Publishing DITA Content)”
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