Release of XMLmind Word To XML v1.7

April 2, 2019

Submitted by Hussein Shafie, XMLmind Software.


  • Command-line utility w2x and desktop application w2x-app now support plugins.

    A plugin is simply a text file having a ".w2x_plugin" suffix, containing a number of w2x command-line arguments and starting with comment lines containing information about the plugin (for example, its name). Example, rss.w2x_plugin:

    ### plugin.name: rss
    ### plugin.outputDescription: RSS 2.0
    ### plugin.outputExtension: xml
    ### plugin.multiFileOutput: no

    -e w2x:xed/main.xed
    -t rss.xslt

    # Image files not useful here.
    -p cleanUp.files "%{~pO}/%{~nO}_files"

    This plugin converts DOCX to RSS. This process is partly implemented by XSLT 1.0 stylesheet rss.xslt which is part of this plugin. Stylesheet rss.xslt transforms its input, the semantic XHTML 1.0 Transitional file created by the Edit step (-e w2x:xed/main.xed), to RSS.

    Aside XSLT 1.0 stylesheets, a plugin may also include XED scripts as well as ".jar" files containing custom conversion steps implemented in Java™.

    A plugin is registered with w2x and w2x-app by copying all its files anywhere inside directory w2x_install_dir/plugin/. However it's strongly recommended to group all the files comprising a plugin in a subdirectory of its own having the same name as the plug-in (e.g. w2x_install_dir/plugin/rss/). Alternatively, this plugin may be installed anywhere you want provided that the directory containing the ".w2x_plugin" file is referenced in the W2X_PLUGIN_PATH environment variable. Example: set W2X_PLUGIN_PATH=C:\Users\John\w2x\rss;C:\temp\w2x_plugins.

    Once registered with w2x, a plugin may be invoked as it were a stock conversion, for example:

    w2x -o rss my.docx my.xml

    In w2x-app, you'll find the registered plugins in the "Convert to" combobox and in the "Output format" screen of the setup assistant.

  • When a DOCX file contains revision info (i.e. "Track Changes"), w2x implements its own, automatic, very crude, interpretation of "Accept All Changes". That's why, a warning is now issued informing the user that she/he would better use MS-Word to manually accept or reject the tracked changes before submitting the DOCX file to w2x.
  • Upgraded XMLmind Web Help Compiler (whc for short) to version 2.1.3_04.
  • XMLmind Word To XML, which passed all non-regression tests, is now officially supported on Java™ 12 platforms.

Bug fixes:

  • w2x-app: a user converting a DOCX file to a multi-file output format (e.g. Web Help), choosing the default output directory (which is the directory containing the input DOCX file) and choosing by mistake to make the output directory empty before proceeding with the conversion ended up deleting the input DOCX file.
  • The online help browser of w2x-app displayed a blank window when the computer running w2x-app was not connected to the Internet.

More information in http://www.xmlmind.com/w2x/changes.html

What is XMLmind Word To XML?

XMLmind Word To XML can automatically convert DOCX files to:

  • Clean, styled, valid HTML (single page or multi-page HTML, Web Help, EPUB) looking very much like the source DOCX file.
  • Unstyled, but structured and valid, DITA bookmap, map, topic, DocBook, XHTML (single page or multi-page HTML, Web Help, EPUB) or XML conforming to your custom schema.

Home Page: http://www.xmlmind.com/w2x/

Download: http://www.xmlmind.com/w2x/download.shtml

Free online DOCX conversion services: http://www.xmlmind.com/w2x/online_w2x.html

News items may be commercial in nature and are published as received.