Jon Ison wrote: > > I am using XMLMind Pro with XSL-FO. > > I need to edit the stylesheet(s) used by XMLMind to adjust the final > appearance of the text once converted to Word format and to HTML. > > For example, I want text marked up with <application> to appear in a system > (e.g. Courier) font, and various other trivial changes. > > If I am able to do this, please let me know which file(s) I need to edit and > whether there is anything else I need to do, e.g. options to set etc.
There are two ways to do this: [1] The quick and dirty method, which will not survive XMLmind XML Editor upgrades. [2] The clean but somewhat more complex method, which is easier to maintain and which will survive XMLmind XML Editor upgrades. --> Method #1: directly modify the .xsl files used to convert DocBook to XSL-FO (and after that, to PDF, Word format, etc) and to HTML. Such XSL style sheets are found here: DocBook 4 --> HTML: XXE_install_dir/addon/config/docbook/xsl/html/ DocBook 4 --> XSL-FO (and then PDF, RTF, .docx, etc): XXE_install_dir/addon/config/docbook/xsl/fo/ DocBook 5 --> HTML: XXE_install_dir/addon/config/docbook5/xsl/html/ DocBook 5 --> XSL-FO (and then PDF, RTF, .docx, etc): XXE_install_dir/addon/config/docbook5/xsl/fo/ Please use grep (or find, its equivalent on Windows) to find which file you need to edit. Example: ~$ cd /opt/xxe/addon/config/docbook/xsl/fo /opt/xxe/addon/config/docbook/xsl/fo$ grep application *.xsl ... inline.xsl:<xsl:template match="application"> Therefore you need to modify inline.xsl. There is nothing else to do in the case of method #1. --> Method #2 is explained here: XMLmind XML Editor - Configuration and Deployment, Customizing the XSLT style sheets used in the Convert Document submenu, http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customize_xslt.html

