Adding custom pre-process param to all transtypes
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
Adding custom pre-process param to all transtypes
I created a custom pre-process step for DITA-OT that has it's own parameter. To make it visible in oXygen when configuring a transformation scenario I added it to my custom transtype in the plugin.xml.
But actually my plugin will affect any transtype. So I'm wondering if there is already any mechanism to add a global parameter so oXygen will list it for any transtype - including those I didn't create on my own.
Thanks and regards,
Patrik
But actually my plugin will affect any transtype. So I'm wondering if there is already any mechanism to add a global parameter so oXygen will list it for any transtype - including those I didn't create on my own.
Thanks and regards,
Patrik
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Adding custom pre-process param to all transtypes
Hi Patrik,
In your plugin.xml you should have something like this:
Oxygen gathers all transtypes named "base" and contributes their parameters to all other non-abstract transtypes.
Regards,
Radu
In your plugin.xml you should have something like this:
Code: Select all
<transtype name="base" abstract="true">
<param name="paramName" desc="someValue" type="enum">
<val>true1</val>
<val default="true">false2</val>
</param>
</transtype>
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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