Page 1 of 1

Basic Question-XML/DTD

Posted: Wed Apr 25, 2012 6:59 pm
by jumblerr
Hello,

I have downloaded the trial version of XML Editor.

All I am trying to accomplish is to take a Word document file (.docx) and create an xml file that conforms to a certain DTD. The myriad of choices in the Editor is confusing me.

How would I do this? The videos don';t seem to clarify this too well.

Thanks so much!!

Re: Basic Question-XML/DTD

Posted: Thu Apr 26, 2012 4:57 pm
by adrian
Hello,

Currently(v13.2) Oxygen does not provide a specialized (wizard-like) import from Word document files (.docx).
However, there are at least two generic means of importing content from Word documents into Oxygen:

1. You can copy content directly from Word (the application) and paste it in Oxygen in the Author mode. Here's a video demonstration showcasing this:
Smart Paste: Copy/Paste from Web and Office Documents to DITA, DocBook, TEI, XHTML Documents

2. You can apply an XSLT stylesheet on the inner document.xml from inside the .docx document. There's a video demonstration for this as well:
Extract from Word

Let us know if you need additional assistance.

Regards,
Adrian

Re: Basic Question-XML/DTD

Posted: Sat Jan 11, 2020 2:48 am
by xmluser
Screen Shot 2020-01-10 at 3.44.44 PM.png
Screen Shot 2020-01-10 at 3.44.44 PM.png (153.59 KiB) Viewed 1514 times
HI, my Word document imports fine, but when I click transformation scenarios to DOCxDITA, it gives me an error that says no protocol for ditamap. Can anyone please advise on how to get the ditamap to work when I import the Word doc? Thanks! Image

Re: Basic Question-XML/DTD

Posted: Mon Jan 13, 2020 11:40 am
by Radu
Hi,

This particular Word to DITA conversion you are using is based on the DITA For Publishers plugins created by Eliot Kimber and we are not very familiar with them:

http://www.dita4publishers.org/d4p-user ... lugin.html

Maybe in the case of your particular Word document the conversion does not manage to produce a DITA Map. You can try to look inside the "out" folder located near the docx file to see what the conversion managed to produce.
As an alternative we have an Oxygen Batch Converter add-on which can generate a DITA topic from one or more Word documents:

https://github.com/oxygenxml/oxygen-resources-converter

Regards,
Radu