XML Exporter
Serialization
Once you have processed the original source document internal tree to the destination format or want to apply external tools like an XSLT transformation to it, you'll need to serialize it into XML for those tools to run on it.
The module offers various serialization option, like applying a Unicode Translation Map, which can replace any Unicode character with by different one or even a replacement string. For example, you could force writing certain entities, convert 'ö' to "oe" or even insert (empty) elements on the fly at serialization time without changing the internal tree - something which the character translation maps in XSLT 2 cannot do yet.
You can also include CSS styling, add a stylesheet PI, pretty-print the output for debugging and more.
Table Model: CALS, HTML, internal
Another important function of this module is the translation of upCast's internal table model into one of the standard models like HTML or CALS. No further configuration is necessary other than selecting the desired model in a popup - this module does all the difficult work for you, including correct spanning attribute generation, along with col
or colspec
elements.
Images
This module also handles any external image files references by the internal tree. It's up to you how you would like them referenced: the original? A copy in the destination folder? Or all that depending on its original proposition, embedded or externally referenced? Of course, any path differences between source document location and the XML destination location are accounted for, and paths are kept relative if at all possible.