Reuse Actions across frameworks
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 110
- Joined: Fri May 14, 2010 12:14 am
Reuse Actions across frameworks
We've extended the DITA, DITAMap, Maven, and Ant frameworks and have a set of custom toolbars/actions that we want to reuse across all 4. The only workable method we've been able to determine thus far is duplicating all of them in every framework, which is not sustainable. Is there a way we can write them once and reuse them in different frameworks?
We tried creating a framework that had association rules for all of them, but that was not workable, since our frameworks are extensions of others and we'd lose the extension benefits.
The only hack I can think of quickly is to edit the XML representation of the frameworks and copy the relevant sections to each of the others by hand, or by using a script to do the same, but that's problematic too. Is there an inclusion element we can use in the frameworks' XML?
We tried creating a framework that had association rules for all of them, but that was not workable, since our frameworks are extensions of others and we'd lose the extension benefits.
The only hack I can think of quickly is to edit the XML representation of the frameworks and copy the relevant sections to each of the others by hand, or by using a script to do the same, but that's problematic too. Is there an inclusion element we can use in the frameworks' XML?
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Reuse Actions across frameworks
Post by alex_jitianu »
Hello John,
What Oxygen version are you using? In the last release, 22.1, we added the possibility to define actions in their own file. After you put the actions in separate files, you can copy them in every framework directory.
Best regards,
Alex
What Oxygen version are you using? In the last release, 22.1, we added the possibility to define actions in their own file. After you put the actions in separate files, you can copy them in every framework directory.
Best regards,
Alex
Return to “SDK-API, Frameworks - Document Types”
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