Generate customized scenario with profiling conditions (webhelp wml with DITA-OT)
Oxygen general issues.
-
- Posts: 41
- Joined: Thu Jun 08, 2017 3:41 pm
Generate customized scenario with profiling conditions (webhelp wml with DITA-OT)
Hello,
Using profiling conditions on a scenario, we don't know how to generate online our customized scenario through plugin webhelp with DITA-OT ? (https://www.oxygenxml.com/xml_webhelp/d ... bhelp.html)
How can we call the specific scenario created with profiling conditions?
Thanks.
Regards,
Jeremy
Using profiling conditions on a scenario, we don't know how to generate online our customized scenario through plugin webhelp with DITA-OT ? (https://www.oxygenxml.com/xml_webhelp/d ... bhelp.html)
How can we call the specific scenario created with profiling conditions?
Thanks.
Regards,
Jeremy
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Generate customized scenario with profiling conditions (webhelp wml with DITA-OT)
Post by radu_pisoi »
Hi,
If you have transformation scenario already configured and you want to run the same transformation from command line you can use the DITA-OT dita command.
To specify a profiling condition from command line, you can use the --filter switch.
Se more in the following topics:
http://www.dita-ot.org/2.5/user-guide/b ... mmand.html
https://www.oxygenxml.com/doc/versions/ ... aid-title3
If you have transformation scenario already configured and you want to run the same transformation from command line you can use the DITA-OT dita command.
Code: Select all
dita --input=path/to/ditamap_to_pubish.ditamap
--format=webhelp-responsive \
--filter=path/to/filter.ditaval
--output=path/to/output/folder \
--propertyfile=transformation.properties
Se more in the following topics:
http://www.dita-ot.org/2.5/user-guide/b ... mmand.html
https://www.oxygenxml.com/doc/versions/ ... aid-title3
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 41
- Joined: Thu Jun 08, 2017 3:41 pm
Re: Generate customized scenario with profiling conditions (webhelp wml with DITA-OT)
Thank you a lot but I still have a problem.
I have a transformation scenario with a profiling condition : audience="self"
What's the equivalent of the ditaval, is "<prop action="include" att="audience" val="self"/>" ok ?
Because when I'm using the profiling condition (in filters scenario), it works but when i'm using the ditaval file (in filters scenario), it doesn't work. I mean, the generation is working but the filters from the ditaval are not correct.
I guess I've done something wrong but I don't know what..
I have a transformation scenario with a profiling condition : audience="self"
What's the equivalent of the ditaval, is "<prop action="include" att="audience" val="self"/>" ok ?
Because when I'm using the profiling condition (in filters scenario), it works but when i'm using the ditaval file (in filters scenario), it doesn't work. I mean, the generation is working but the filters from the ditaval are not correct.
I guess I've done something wrong but I don't know what..
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Generate customized scenario with profiling conditions (webhelp wml with DITA-OT)
Hi,
With DITAVAL files, the default action is to include anything:
https://www.oxygenxml.com/dita/1.3/spec ... l-val.html
so you probably need to define something like:
to define an exclude for any value for @audience but to include only the specific "self" value.
Regards,
Radu
With DITAVAL files, the default action is to include anything:
https://www.oxygenxml.com/dita/1.3/spec ... l-val.html
so you probably need to define something like:
Code: Select all
<val>
<prop action="exclude" att="audience"/>
<prop action="include" att="audience" val="self"/>
</val>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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