Can't get the conditional profiling to work, must be missing something.
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 1
- Joined: Wed Apr 28, 2021 9:19 pm
Can't get the conditional profiling to work, must be missing something.
Hi there!
I am a relatively new DITA/Oxygen XML Editor (<oXygen/> XML Editor 23.1, build 2021040908). I am trying to set up profiling/conditional tagging so that I can write "Version 2" content in parallel with the "main" Help center updates needed for minor releases. I need to be able to shut off the V2 content to deliver for the minor releases.
I have watched the relevant videos and read the documentation on how to do this, but I am stuck.
This is what I have done:
<val>
<prop action="exclude" att="revision" val="2.0"/>
</val>
I am a relatively new DITA/Oxygen XML Editor (<oXygen/> XML Editor 23.1, build 2021040908). I am trying to set up profiling/conditional tagging so that I can write "Version 2" content in parallel with the "main" Help center updates needed for minor releases. I need to be able to shut off the V2 content to deliver for the minor releases.
I have watched the relevant videos and read the documentation on how to do this, but I am stuck.
This is what I have done:
- As an experiment to start with, I have added just one "test" topic reference to my map file that is a Version 2 topic.
- I am using the predefined profile conditions in Oxygen -- specifically Revision 2.0.
- I have tagged the test topic with Revision 2.0 condition via the Edit Topic Reference Properties dialog box (Profiling tab)
- I have created a DITAVAL file which contains the following:
<val>
<prop action="exclude" att="revision" val="2.0"/>
</val>
- I have edited my transformation scenario (responsive web help) to use the DITAVAL file I created as a filter.

-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Can't get the conditional profiling to work, must be missing something.
Hi,
There is no "revision" attribute in DITA, so your DITAVAL filter file probably does not match any element. There is a "rev" attribute used for revisions but it cannot be used for filtering, just for flagging content with a certain color, please see the DITA 1.3 standard for more details about what attributes can be used for filtering:
https://www.oxygenxml.com/dita/1.3/spec ... butes.html
Regards,
Radu
There is no "revision" attribute in DITA, so your DITAVAL filter file probably does not match any element. There is a "rev" attribute used for revisions but it cannot be used for filtering, just for flagging content with a certain color, please see the DITA 1.3 standard for more details about what attributes can be used for filtering:
https://www.oxygenxml.com/dita/1.3/spec ... butes.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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