XMLmind Word To XML Manual

Introduction

Installing w2x

Contents of the installation directory

Alternatives to using the w2x command-line utility

The w2x-app graphical application

The “Word To XML” add-on for XMLmind XML Editor

Installing the “Word To XML” add-on

The “Word To XML” servlet

Contents of the servlet software distribution

Installing the servlet

Configuring the servlet

Using the servlet to convert DOCX files

Non interactive requests

Getting started with w2x

How to generate useful multi-page HTML

Going further with w2x

Stock XED scripts

Customizing the output of w2x

Customizing the XHTML+CSS files generated by w2x

Using a XED script to modify the styles embedded in the XHTML+CSS file

Appending custom styles to the styles embedded in the XHTML+CSS file

Using an external CSS file rather than embedded CSS styles

Combining all the above methods

Customizing the semantic XML files generated by w2x

Converting custom character styles to semantic tags

Converting custom paragraph styles to semantic tags

The general case

Generating XML conforming to a custom schema

Packaging your customization as a w2x plugin

Anatomy of a plugin

Registering a plugin with w2x

The w2x command-line utility

Variables substituted in the parameter values passed to the –p and –pu options

Default conversion steps

Automatic conversion step parameters

Conversion step reference

Convert step

Delete files step

Edit step

EPUB step

Load step

Save step

Split step

Transform step

Web Help step

Embedding w2x in a Java™ application

Extension points

Custom conversion step

Custom image converters

Specifying an external image converter

Controlling how image files found in the input DOCX file are converted to standard formats

Limitations and implementation specificities

About tab stops

Index