Re: Bulk Conversions Question

Hussein Shafie <[email protected]> Fri, 17 Oct 2025 10:30:58 +0200
Newsgroups gmane.editors.xxe.general
Message-ID <[email protected]>
Natalie Johnson wrote:
> I have the XMLmind XML Editor Professional Edition v10.12.0 and I'm looking for a way to do a bulk conversion of 200+ .docx files to docbook files.
> 
> I'm familiar with going to File => Import DOCX and then selecting the file and converting it to a docbook, but I don't see a way to select an entire folder or multiple docx files to convert at one time. 
> 
> I've looked through the help and your web page, but I can't find anything about how this can be done. Is there a plugin that needs to be installed or directions that I can be pointed to for doing these bulk conversions?
> 

Hello,

I'm sorry but this kind of bulk conversion is not possible using the 
"Word To XML" add-on (which is used to implement *interactive* 
*facility* "File|Import DOCX") included XMLmind XML Editor Professional 
Edition. See https://www.xmlmind.com/xmleditor/addons_doc.html#word_to_xml

In order to perform this this kind of bulk conversion you need to 
purchase the original product: XMLmind Word To XML, 
https://www.xmlmind.com/w2x/ and more precisely "Word To XML - Desktop 
License", USD340, https://www.xmlmind.com/w2x/price_list.html

The distribution of "Word To XML - Desktop License" include a 
command-line tool called "w2x". This command-line tool does not support 
(not yet!) converting multiple DOCX files or folders containing DOCX 
files but you can easily invoke it from a .BAT file (shell script on 
Linux/Mac) of yours.

Simplest shell script example:
---
for f in *.docx; do
   w2x -o docbook5 "$f" /tmp/`basename "$f" .docx`.xml
done
---

See "The w2x command-line utility", 
https://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#w2x_command

Regards,



--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support