WebHelp Responsive XSLT customization: overriding original
Post here questions and problems related to editing and publishing DITA content.
WebHelp Responsive XSLT customization: overriding original
Hi
I'm trying to customize Web Help Responsive XSLT stylesheet.
According to the following web, I can override the original stylesheet by specifying follows:
Overriding a WebHelp XSLT Stylesheet from an Ant Build File
https://www.oxygenxml.com/doc/versions/ ... tomization
I copied the webhelp plug-in to the newest DITA-OT 2.4.6 for testing. But the dita-ot-2.4.6/catalog-dita.xml has following entry:
So the references to the original stylesheet cannot be resolved because "plugin:com.oxygenxml.dita-ot.plugin.webhelp:xsl" is not defined in catalog file.
Moreover modifying above to following causes Saxon validation error.
How do I solve this issue??
I'm trying to customize Web Help Responsive XSLT stylesheet.
According to the following web, I can override the original stylesheet by specifying follows:
Overriding a WebHelp XSLT Stylesheet from an Ant Build File
https://www.oxygenxml.com/doc/versions/ ... tomization
Code: Select all
<xsl:import href="plugin:com.oxygenxml.dita-ot.plugin.webhelp:xsl/
dita/responsive/dita2webhelp.xsl"/>
Code: Select all
<rewriteURI uriStartString="plugin:com.oxygenxml.dita-ot.plugin.webhelp:" rewritePrefix="plugins/com.oxygenxml.webhelp/"/>
Moreover modifying above to following causes Saxon validation error.
Code: Select all
<xsl:import href="plugin:com.oxygenxml.dita-ot.plugin.webhelp/xsl/dita/responsive/dita2webhelp.xsl"/>
Code: Select all
System ID: D:\DITA-OT\dita-ot-2.4.6\plugins\com.rolanddg.webhelp\xsl\rdgDita2webhelpCustom.xsl
Main validation file: D:\DITA-OT\dita-ot-2.4.6\plugins\com.rolanddg.webhelp\xsl\rdgDita2webhelpCustom.xsl
Scenario name: XSLT
Document type: XSLT
Engine name: Saxon-PE 9.7.0.15
Severity: fatal
Description: Malformed URL plugin:com.oxygenxml.dita-ot.plugin.webhelp/xsl/dita/responsive/dita2webhelp.xsl(base file:/D:/DITA-OT/dita-ot-2.4.6/plugins/com.rolanddg.webhelp/xsl/rdgDita2webhelpCustom.xsl): unknown protocol: plugin
Start location: 10:103
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
Re: WebHelp Responsive XSLT customization: overriding original
Now original notation woks and validation has been succeeded!
Probably there is my project setting problem about DITA-OT catalog file.
Code: Select all
<xsl:import href="plugin:com.oxygenxml.dita-ot.plugin.webhelp:xsl/dita/responsive/dita2webhelp.xsl"/>
--
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.com/
--------------------------------------------------*/
/*--------------------------------------------------
Toshihiko Makita
Development Group. Antenna House, Inc. Ina Branch
Web site:
http://www.antenna.co.jp/
http://www.antennahouse.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