Generating DITA From Within OxygenXML - Help!
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 5
- Joined: Tue Oct 01, 2019 2:32 pm
Generating DITA From Within OxygenXML - Help!
Hi,
I'd like to ask for assistance with transforming a DOCX file (99 pages, Word styles defined and applied correctly) into DITA. I've been following the following procedure:
http://www.dita4publishers.org/d4p-user ... xygen.html
Errors were reported during stylesheet compilation
System ID: C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\org.dita4publishers.word2dita\xsl\wordml2simple.xsl
Scenario: docx2dita_1
XSL file: C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\org.dita4publishers.word2dita\xsl\docx2dita.xsl
XML file: zip:file:/C:/Users/TamásBoronyák/Autotask Workplace/HPE TAS/3.2/02_input/dita-migration/no_trackchange/HPE_MSE_MRF_Adapter_User_Guide.docx!/word/document.xml
Engine name: Saxon-PE 9.8.0.12
Severity: fatal
Description: Cannot find a 1-argument function named {java:com.oxygenxml.dita.xsltextensions.Path}evaluate(). For diagnostics on calls to Java methods, use the -TJ command line option or set the Configuration property FeatureKeys.TRACE_EXTERNAL_FUNCTIONS
Start location: 280:62
Can someone please point out what could've gone wrong?
I'd like to ask for assistance with transforming a DOCX file (99 pages, Word styles defined and applied correctly) into DITA. I've been following the following procedure:
http://www.dita4publishers.org/d4p-user ... xygen.html
- In step 5 I secelcted "XSLT Transormation"
- In step 6 I selected the two parameters: outputDir and styleMapUri by double clicking (ie. not defining any custom values, not sure if I have to, and if yes, what values)
Errors were reported during stylesheet compilation
System ID: C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\org.dita4publishers.word2dita\xsl\wordml2simple.xsl
Scenario: docx2dita_1
XSL file: C:\Program Files\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\org.dita4publishers.word2dita\xsl\docx2dita.xsl
XML file: zip:file:/C:/Users/TamásBoronyák/Autotask Workplace/HPE TAS/3.2/02_input/dita-migration/no_trackchange/HPE_MSE_MRF_Adapter_User_Guide.docx!/word/document.xml
Engine name: Saxon-PE 9.8.0.12
Severity: fatal
Description: Cannot find a 1-argument function named {java:com.oxygenxml.dita.xsltextensions.Path}evaluate(). For diagnostics on calls to Java methods, use the -TJ command line option or set the Configuration property FeatureKeys.TRACE_EXTERNAL_FUNCTIONS
Start location: 280:62
Can someone please point out what could've gone wrong?
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Generating DITA From Within OxygenXML - Help!
Hi,
If you open the DOCX file in Oxygen (in the Archive Browser view) and from it you open the "document.xml", click the "Configure Transformation Scenarios" toolbar button, there is a transformation scenario called "DOCX DITA" which should work for what you need.
In your case, as you created an XSLT transformation scenario, you need to edit the transformation scenario, click the "Extensions" button and add a reference to the library ${frameworks}/dita/DITA-OT3.x/plugins/com.oxygenxml.common/lib/oxygen-dita-publishing-xslt-extensions.jar.
Or another approach is to use our Oxygen XML batch convertor add-on:
https://github.com/oxygenxml/oxygen-resources-converter
Regards,
Radu
If you open the DOCX file in Oxygen (in the Archive Browser view) and from it you open the "document.xml", click the "Configure Transformation Scenarios" toolbar button, there is a transformation scenario called "DOCX DITA" which should work for what you need.
In your case, as you created an XSLT transformation scenario, you need to edit the transformation scenario, click the "Extensions" button and add a reference to the library ${frameworks}/dita/DITA-OT3.x/plugins/com.oxygenxml.common/lib/oxygen-dita-publishing-xslt-extensions.jar.
Or another approach is to use our Oxygen XML batch convertor add-on:
https://github.com/oxygenxml/oxygen-resources-converter
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)
- ↳ 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