Anagha Tongaonkar wrote: > > I am currently evaluating the XMLMind XML editor (version: > xxe-perso-3_8_0) for our company's documentation needs. I am looking for > an XML editor (on Linux platform) that supports creation of DocBook 5 > documents with text, mathematical equations, tables, and images. I have > customized the docbook (version 5) format to suit our needs by adding > new elements and formatting the display of existing elements. I have > following questions: > > 1. I am looking at ways to be able to specify our customized CSS to get > the desired formatted view in the Author mode and also use the same CSS > when transforming the document into HTML. How do I specify the > customized CSS in XXE for Author mode?
See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html Note that the same CSS cannot be used for Author mode and when transforming the document into HTML. * When transforming the document into HTML ==> simple CSS leveraging the built-in CSS rules of the browser. (This CSS needs to style a few dozen HTML elements having class attributes such as class="programlisting".) * In authoring mode ==> huge, complex, CSS using many proprietary extensions, not trying to be WYSIWYG, developed specifically to make authoring as easy as possible. (This CSS needs to style the 400+ DocBook elements.) I would recommend: * To use your custom CSS when transforming the document into HTML. * To customize XMLmind's DocBook CSS (i.e. XXE_install_dir/addon/config/docbook5/css/docbook5.css) in order to make it look as close as possible to your own CSS. > 2. When transforming the XML document into PDF, I would like to be able > to use the customized XSL, which handles the custom elements. How do I > specify the desired XSL that will be used when running the PDF > transformation? Same chapter: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html Note that before reading this chapter, you need to understand how XMLmind XML Editor is configured and how the configurations are deployed. See http://www.xmlmind.com/xmleditor/_distrib/doc/configure/index.html

