Customizing WebHelp output using args.create.main.files.xsl
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 9
- Joined: Thu Jun 16, 2016 9:01 pm
Customizing WebHelp output using args.create.main.files.xsl
I need to create custom WebHelp output.
I am using oXygen XML Editor 18.0 on Windows.
In order to do this, I tried the following:
1. Created a new transformation scenario based on 'DITA map WebHelp Classic'
2. Added the args.create.main.files.xsl parameter and specified my customized processing, i.e., plugins/com.oxygen.webhelp/xsl/createMainFiles_custom.xsl.
However, when I try to build output using the above scenario, I get several errors, e.g., "No template exists named getLowerCaseLang".
When I look at the output log, I see the following:
Override ignored for property "args.create.main.files.xsl"
I notice also, that when I specify the default 'createMainFiles.xsl' file that is shipped with the framework, I get the same errors.
Does oXygen support customizing WebHelp output using the args.create.main.files.xsl parameter? If not, how can I specify custom xsl processing without creating a new transtype?
Thank you.
I am using oXygen XML Editor 18.0 on Windows.
In order to do this, I tried the following:
1. Created a new transformation scenario based on 'DITA map WebHelp Classic'
2. Added the args.create.main.files.xsl parameter and specified my customized processing, i.e., plugins/com.oxygen.webhelp/xsl/createMainFiles_custom.xsl.
However, when I try to build output using the above scenario, I get several errors, e.g., "No template exists named getLowerCaseLang".
When I look at the output log, I see the following:
Override ignored for property "args.create.main.files.xsl"
I notice also, that when I specify the default 'createMainFiles.xsl' file that is shipped with the framework, I get the same errors.
Does oXygen support customizing WebHelp output using the args.create.main.files.xsl parameter? If not, how can I specify custom xsl processing without creating a new transtype?
Thank you.
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Customizing WebHelp output using args.create.main.files.xsl
Post by radu_pisoi »
Hi,
Unfortunately, the Webhelp plugin does not support DITA-OT XSLT import extension points:
http://www.dita-ot.org/2.3/dev_ref/plug ... mport.html
This would be the correct solution to customize the output generated from XSLT stylesheets. We have already registered an issue for this improvement and I will add your vote for it.
An workaround for this issue is the solution you already found, to duplicate the original XSLT and to modify it according with your requests.
The problem in your case is that you don't duplicate the correct file, for DITA you should duplicate the 'createMainFiles.xsl file' from 'xsl/dita' folder:
Unfortunately, the Webhelp plugin does not support DITA-OT XSLT import extension points:
http://www.dita-ot.org/2.3/dev_ref/plug ... mport.html
This would be the correct solution to customize the output generated from XSLT stylesheets. We have already registered an issue for this improvement and I will add your vote for it.
An workaround for this issue is the solution you already found, to duplicate the original XSLT and to modify it according with your requests.
The problem in your case is that you don't duplicate the correct file, for DITA you should duplicate the 'createMainFiles.xsl file' from 'xsl/dita' folder:
Code: Select all
oXygen/frameworks/dita/DITA-OT2.x/plugins/com.oxygenxml.webhelp/xsl/dita/createMainFiles.xsl
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
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