XMLmind XML Editor - Configuration and Deployment

Hussein Shafie

Pixware

91 rue Gambetta,
78120 Rambouillet,
France,
Phone: +33 (0)1 30 59 81 44,
Web: www.xmlmind.com/xmleditor
Email:  (public mailing list)

June 5, 2009

Abstract

This document describes how to customize and deploy XXE.


Table of Contents

I. Guide
1. Introduction
2. Writing a configuration file for XXE
1. DTD example
2. W3C XML Schema example
3. RELAX NG example
3. Customizing mouse and key bindings used by XXE
1. Bindings specific to a document type
2. Generic bindings
4. Using HTML4 tables or CALS tables in your own custom schema
1. HTML4 tables
1.1. HTML4 table editor command
2. HTML4 form elements
3. CALS tables
3.1. CALS table editor command
5. Customizing an existing configuration
1. Adding a custom document template
2. Replacing an existing document template
3. Removing an existing document template
4. Adding a custom CSS style sheet
5. Replacing an existing CSS style sheet
6. Removing an existing CSS style sheet
7. Adding buttons to the tool bar
8. Adding items to the menu
9. Parametrizing the XSLT style sheets used in the Convert Document submenu
10. Customizing the XSLT style sheets used in the Convert Document submenu
11. Using a custom CSS style sheet to style the HTML files generated by the Convert Document submenu
6. Deploying XXE
1. Dynamic discovery of add-ons
1.1. The lookup phase during XXE startup
1.2. Files containing the add-ons
2. Centralizing add-ons on a HTTP server
3. Deploying XXE using Java™ Web Start
3.1. The deploywebstart command-line tool
3.2. Deploying XXE using Java™ Web Start, a step by step description
3.3. Comparison between deployment using Java Web Start and just centralizing the add-ons on a HTTP server
4. Deploying XXE as an applet
4.1. Requirements
4.2. Testing the XXE applet, a step by step description
4.3. Integrating the applet with your web application
4.3.1. Dynamically generating an HTML page referencing the applet
4.3.2. The four different kinds of applet
4.3.3. Applet parameters
4.3.4. Applet scripting
II. Reference
7. Configuration elements
1. binding
2. command
3. configuration
4. css
5. DTD
6. detect
7. documentResources
8. elementTemplate
9. help
10. imageToolkit
11. include
12. inclusionScheme
13. menu
13.1. Multiple menus
14. newElementContent
15. property
16. parameterGroup
17. parameterSet
18. preserveSpace
19. relaxng
20. saveOptions
21. schema
22. schematron
22.1. Relationship between schematron and validateHook
23. spellCheckOptions
24. spreadsheetFunctions
25. template
26. toolBar
26.1. Multiple toolBars
27. translation
28. validate
29. validateHook
30. windowLayout

List of Examples

6.1. -applet viewer example: open a document stored on an HTTP server
6.2. Same example as above, but force the value of the defaultFontSize user preference in order to use a larger font to display the document
6.3. -applet editor1 example: create a new DocBook article
6.4. -jsapplet editor2 example: open a document stored on a WebDAV server requiring the user to authenticate himself
6.5. The online demo of editor1.
7.1. DocBook example