DOCX transformation fails
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 12
- Joined: Fri Nov 13, 2020 9:24 pm
DOCX transformation fails
Hello,
I'm using Oxygen 20.1 to run a transform to convert a Word file to DITA (New Transformation > DITA-OT Transformation > DOCX). It keeps failing with the following error:
I'm not specifying any ditavals or conditionalizing of any sort in the transformation scenario. I haven't modified anything else about the transformation scenario. I'm running it off the document.xml file that appears when I open the Word file in the Archive Browswer.
Any ideas?
Thanks,
Jesse
I'm using Oxygen 20.1 to run a transform to convert a Word file to DITA (New Transformation > DITA-OT Transformation > DOCX). It keeps failing with the following error:
Code: Select all
Transformation failed. C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\plugins\org.dita.base\build_preprocess.xml:55: Failed to run pipeline: [DOTJ022F][FATAL] Failed to parse the input file 'file:/C:/Users/.../AppData/Local/Temp/OxygenXMLTemp/ditaTemporaryOutputDir-1606751643244/t1/t2/t3/t4/t5/document.xml' because all of its content has been filtered out. This will happen if the input file has filter conditions on the root element, and a ditaval excludes all content based on those conditions.
Any ideas?
Thanks,
Jesse
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DOCX transformation fails
Hi Jesse,
You seem to want to use the publishing engine on a document.xml file which is not a DITA resource. Also the "DOCX" transformation converts DITA to Word and not the other way around.
We have this topic about converting Word to DITA:
https://www.oxygenxml.com/doc/versions/ ... -dita.html
Regards,
Radu
You seem to want to use the publishing engine on a document.xml file which is not a DITA resource. Also the "DOCX" transformation converts DITA to Word and not the other way around.
We have this topic about converting Word to DITA:
https://www.oxygenxml.com/doc/versions/ ... -dita.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 12
- Joined: Fri Nov 13, 2020 9:24 pm
Re: DOCX transformation fails
Hi Radu,
Thanks for your reply!
I was trying to use this method from the help link you sent:
https://www.oxygenxml.com/doc/versions/ ... __method_4
I didn't see a DOCX Dita option, so I just used the DOCX option, but I guess that's for creating DITA>Word.
I also tried the Word to Dita (DITA 4 Publishers) transformation scenario (using the same document.xml file, but that fails with the following errors:
I may try getting HTML out of Frame and using that instead.
-Jesse
Thanks for your reply!
I was trying to use this method from the help link you sent:
https://www.oxygenxml.com/doc/versions/ ... __method_4
I didn't see a DOCX Dita option, so I just used the DOCX option, but I guess that's for creating DITA>Word.
I also tried the Word to Dita (DITA 4 Publishers) transformation scenario (using the same document.xml file, but that fails with the following errors:
Code: Select all
Transformation failed. C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\plugins\org.dita4publishers.word2dita\build-word2dita.xml:181: Error while expanding C:\Users\budaj\AppData\Local\Temp\OxygenXMLTemp\ditaTemporaryOutputDir-1606828304539\t1\t2\t3\t4\t5\document.xml
-Jesse
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DOCX transformation fails
Hi Jesse,
The procedure you want to follow has three main steps:
But my recommendation for converting Word to DITA is to use our Batch Converter add-on:
https://www.oxygenxml.com/doc/versions/ ... pq_xn4_vjb
Regards,
Radu
The procedure you want to follow has three main steps:
Did you open the document.xml from the Archive browser in the Oxygen main editing area? If so, if you use the "Configure Transformation Scenarios" toolbar button from the main editing area you will find there a predefined transformation scenario named DOCX DITA which can be applied on it.Save the document in the MS Word DOCX format.
Open it in the Archive Browser view in Oxygen XML Editor and then open the document.xml file contained in the archive.
Run the built-in DOCX DITA transformation scenario. This scenario runs a build file over the DOCX archive and should produce a DITA project that contains a DITA map and multiple topics.
But my recommendation for converting Word to DITA is to use our Batch Converter add-on:
https://www.oxygenxml.com/doc/versions/ ... pq_xn4_vjb
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)
- ↳ 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