XMLmind XML Editor - Configuration and Deployment Hussein Shafie XMLmind Software <[email protected]> XMLmind XML Editor - Configuration and Deployment Hussein Sha®e XMLmind Software <[email protected]> Publication date June 22, 2021 Abstract This document describes how to customize and deploy XXE. Table of Contents I. Con®guration guide ................................................................................................................. 1 1. Introduction .................................................................................................................... 3 2. Writing a con®guration ®le for XXE ................................................................................ 4 1. What is a con®guration? .......................................................................................... 4 2. A con®guration for the "Simple Section" document type. ........................................... 4 3. Before writing your ®rst con®guration ...................................................................... 5 4. Anatomy of a con®guration ®le ................................................................................ 5 5. Specifying which con®guration to use for a given document type ............................... 7 6. Associating a schema to the opened document ........................................................... 7 7. XML catalogs ......................................................................................................... 8 8. Document templates ................................................................................................ 9 9. CSS stylesheets ....................................................................................................... 9 9.1. Styling images .............................................................................................. 9 9.2. Styling tables .............................................................................................. 10 10. A speci®c tool bar ................................................................................................ 11 10.1. Text style toggles ...................................................................................... 12 11. Element templates ................................................................................................ 13 12. A speci®c menu ................................................................................................... 14 12.1. About the table editing command ............................................................... 15 13. Speci®c keyboard shortcuts .................................................................................. 16 13.1. About macro commands ............................................................................ 17 14. Interactively resizing an image .............................................................................. 17 15. Miscellaneous con®guration elements ................................................................... 18 16. Converting an XML document to other formats ..................................................... 19 16.1. About process commands .......................................................................... 20 17. Packaging your con®guration for XXE add-on manager ......................................... 21 3. Using HTML4 tables or CALS tables in your own custom schema .................................... 23 1. HTML4 tables ....................................................................................................... 23 1.1. HTML4 table editor command ..................................................................... 24 2. CALS tables .......................................................................................................... 25 2.1. CALS table editor command ........................................................................ 26 4. Customizing mouse and key bindings used by XXE ......................................................... 27 1. Bindings speci®c to a document type ...................................................................... 27 2. Generic bindings ................................................................................................... 28 5. Customizing an existing con®guration ............................................................................ 30 1. Adding a custom document template ....................................................................... 31 2. Replacing an existing document template ................................................................ 31 3. Removing an existing document template ................................................................ 32 4. Adding a custom CSS style sheet ............................................................................ 32 5. Replacing an existing CSS style sheet ..................................................................... 34 6. Removing an existing CSS style sheet ..................................................................... 34 7. Adding buttons to the tool bar ................................................................................. 34 8. Adding items to the menu ....................................................................................... 35 9. Parametrizing the XSLT style sheets used in the Convert Document submenu .......... 35 10. Customizing the XSLT style sheets used in the Convert Document submenu .......... 38 11. Using a custom CSS style sheet to style the HTML ®les generated by the Convert Document submenu .................................................................................................. 44 II. Con®guration reference ......................................................................................................... 48 6. Con®guration elements .................................................................................................. 51 1. attributeEditor ....................................................................................................... 51 iii XMLmind XML Editor - Configuration and Deployment 2. attributeVisibility ................................................................................................... 55 3. binding ................................................................................................................. 57 4. command .............................................................................................................. 68 4.1. About command names ............................................................................... 69 5. con®guration ......................................................................................................... 69 6. css ........................................................................................................................ 72 7. DTD ..................................................................................................................... 72 8. detect .................................................................................................................... 73 9. directionalityFinder ............................................................................................... 76 9.1. HTMLDirectionalityFinder, a con®gurable implementation of Direction- alityFinder .................................................................................................... 78 10. documentResources ............................................................................................. 80 11. documentSetFactory ............................................................................................ 81 11.1. Bean properties ......................................................................................... 82 12. elementTemplate .................................................................................................. 83 12.1. Adding empty text nodes to your element templates .................................... 86 12.2. Speci®cities of selectable="override" ................................................... 86 13. elementVisibility .................................................................................................. 87 14. help .................................................................................................................... 89 15. imageToolkit ....................................................................................................... 90 16. include ................................................................................................................ 93 17. inclusionScheme .................................................................................................. 94 18. linkType .............................................................................................................. 96 18.1. Using linkType to implement link navigation ........................................... 100 18.2. Using linkType to implement link validation ........................................... 101 18.3. Using linkType to de®ne custom, specialized, attribute editors .................. 102 19. menu ................................................................................................................. 103 19.1. Customizing a menu or a toolBar without rede®ning it from scratch .......... 104 19.2. Multiple menus ....................................................................................... 109 20. newElementContent ........................................................................................... 110 21. nodePathAttributes
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages170 Page
-
File Size-