Transformation scenario with multiple ditavals
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 22
- Joined: Fri May 13, 2016 5:34 pm
Transformation scenario with multiple ditavals
Hello,
For our Release Notes we need to to specify 2 ditavals for publishing. This works fine when publishing from the command line, but I can't see a way to specify more than 1 ditaval when creating a profiling set by importing a ditaval, nor when configuring a transformation scenario in oXygen Editor. So I can't really see how my output will look like until I run the script to publish from the command line.
I am using oXygen 20.1 and DITA-OT 2.5.
Can you suggest any workaround for this? Can this be implemented in a later version of oXygen Editor?
To explain why we need 2 ditavals: 1 ditaval is product specific and is automatically generated from the product configuration. It contains hundreds of features which are either included or excluded, also specifies which values are included for @product based on a complex subject scheme map, and some values for @audience. This ditaval is/will be used when generating all product specific documents (such as Technical Reference Manual, Core User Guide, etc.).
The second ditaval (also automatically generated) is release specific (one product can have multiple releases) and contains release specific filters, such as release status (alpha, beta, final), customer, product release "label" (branch + version + configuration).
Thank you.
Best regards,
Ozana
For our Release Notes we need to to specify 2 ditavals for publishing. This works fine when publishing from the command line, but I can't see a way to specify more than 1 ditaval when creating a profiling set by importing a ditaval, nor when configuring a transformation scenario in oXygen Editor. So I can't really see how my output will look like until I run the script to publish from the command line.
I am using oXygen 20.1 and DITA-OT 2.5.
Can you suggest any workaround for this? Can this be implemented in a later version of oXygen Editor?
To explain why we need 2 ditavals: 1 ditaval is product specific and is automatically generated from the product configuration. It contains hundreds of features which are either included or excluded, also specifies which values are included for @product based on a complex subject scheme map, and some values for @audience. This ditaval is/will be used when generating all product specific documents (such as Technical Reference Manual, Core User Guide, etc.).
The second ditaval (also automatically generated) is release specific (one product can have multiple releases) and contains release specific filters, such as release status (alpha, beta, final), customer, product release "label" (branch + version + configuration).
Thank you.
Best regards,
Ozana
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Transformation scenario with multiple ditavals
Hi Ozana,
I understand your use case.
Indeed Oxygen's "Filters" tab which you usually use when configuring filters in a transformation scenario does not allow you to do that. We have an internal issue already added to improve our Filters tab by allowing our users to choose multiple DITAVAL files. We'll update this forum thread when we manage to make this improvement.
In the meantime, you can edit the transformation scenario, clear all the information you have set in the "Filters" tab, then go to the "Parameters" tab and edit the args.filter parameter and specify in it multiple ";" delimited paths just like you do in the command line with the --filter parameter:
https://www.dita-ot.org/2.5/parameters/ ... -base.html
Regards,
Radu
I understand your use case.
Indeed Oxygen's "Filters" tab which you usually use when configuring filters in a transformation scenario does not allow you to do that. We have an internal issue already added to improve our Filters tab by allowing our users to choose multiple DITAVAL files. We'll update this forum thread when we manage to make this improvement.
In the meantime, you can edit the transformation scenario, clear all the information you have set in the "Filters" tab, then go to the "Parameters" tab and edit the args.filter parameter and specify in it multiple ";" delimited paths just like you do in the command line with the --filter parameter:
https://www.dita-ot.org/2.5/parameters/ ... -base.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Thu May 18, 2017 11:18 pm
Re: Transformation scenario with multiple ditavals
Hi Radu,
Can you clarify how we are supposed to add the filters to the parameter? I've tried using the full path to the filters as well as just the two filters separated by a comma and neither worked. I get the message that the filters were not found. We have a flat file system.
Thanks!
-Craig
Can you clarify how we are supposed to add the filters to the parameter? I've tried using the full path to the filters as well as just the two filters separated by a comma and neither worked. I get the message that the filters were not found. We have a flat file system.
Thanks!
-Craig
-
- Posts: 110
- Joined: Fri May 14, 2010 12:14 am
Re: Transformation scenario with multiple ditavals
Hi Radu,
The OT docs say that the path separator is a semi-colon on Windows and a colon on *nix. We use our own Ant build scripts and decided to let the writers provide a comma-separated list and we transparently replace the comma with the ${path.separator} property value before invoking the dita command with the appropriate args.filter parameter value. Otherwise, the build fails spectacularly.
The OT docs say that the path separator is a semi-colon on Windows and a colon on *nix. We use our own Ant build scripts and decided to let the writers provide a comma-separated list and we transparently replace the comma with the ${path.separator} property value before invoking the dita command with the appropriate args.filter parameter value. Otherwise, the build fails spectacularly.
Radu wrote: ↑Mon Feb 04, 2019 2:52 pm In the meantime, you can edit the transformation scenario, clear all the information you have set in the "Filters" tab, then go to the "Parameters" tab and edit the args.filter parameter and specify in it multiple ";" delimited paths just like you do in the command line with the --filter parameter:
https://www.dita-ot.org/2.5/parameters/ ... -base.html
Regards,
Radu
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Transformation scenario with multiple ditavals
Hi Ozana,
This is correct, we have not yet updated our user's interface to allow choosing multiple DITAVAL files in the "Filters" tab.
In Oxygen 22.0 we added support for the DITA OT Project file and you can specify your map, filter pairs also in such a file which can later be used for publishing:
https://www.oxygenxml.com/doc/versions/ ... oject.html
Regards,
Radu
This is correct, we have not yet updated our user's interface to allow choosing multiple DITAVAL files in the "Filters" tab.
In Oxygen 22.0 we added support for the DITA OT Project file and you can specify your map, filter pairs also in such a file which can later be used for publishing:
https://www.oxygenxml.com/doc/versions/ ... oject.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