Xmlmind XML Editor

Xmlmind XML Editor

XMLmind XML Editor - Commands Hussein Shafie XMLmind Software <[email protected]> XMLmind XML Editor - Commands Hussein Sha®e XMLmind Software <[email protected]> Publication date June 22, 2021 Abstract This document contains the reference of all native XXE commands and explains how to write custom macro- commands. Table of Contents I. Guide ...................................................................................................................................... 1 1. What is a command? ........................................................................................................ 3 2. Writing macro-commands ................................................................................................ 5 1. How commands are executed ................................................................................... 5 2. A sequence of commands ......................................................................................... 6 3. Alternative commands ............................................................................................. 6 4. Testing if a command can be executed ...................................................................... 7 5. The "%_" variable ................................................................................................... 8 6. Macro-variables ...................................................................................................... 9 7. Simple use of named variables ................................................................................ 10 8. General use of get .................................................................................................. 11 9. Variables mapped to the selection in XXE ............................................................... 12 10. Contextual commands .......................................................................................... 13 II. Reference ............................................................................................................................. 15 3. Menu commands ........................................................................................................... 20 1. Reference .............................................................................................................. 20 2. Rede®ning or extending the right-click, contextual, popup menu .............................. 21 4. Macro commands .......................................................................................................... 25 1. Reference .............................................................................................................. 25 1.1. Pass and fail cheat sheet .............................................................................. 29 1.2. Macro-variables .......................................................................................... 29 1.3. XPath variables ........................................................................................... 31 1.3.1. User variables .................................................................................. 31 1.3.2. Prede®ned variables ......................................................................... 31 2. Running XED scripts in a macro ............................................................................. 34 3. Examples .............................................................................................................. 38 5. Process commands ......................................................................................................... 44 1. Reference .............................................................................................................. 44 1.1. Attributes ................................................................................................... 49 1.2. Element copyDocument ............................................................................... 49 1.2.1. Attributes ......................................................................................... 50 1.2.2. Element extract ............................................................................. 51 1.2.3. Element resources .......................................................................... 54 1.3. Element convertImage ............................................................................... 56 1.3.1. Parameters supported by the built-in Java image toolkit ...................... 58 1.4. Element copyProcessResources ................................................................ 58 1.5. Element transform .................................................................................... 60 1.5.1. Using a custom XSLT style sheet ...................................................... 62 1.6. Element processFO .................................................................................... 63 1.7. Element upload .......................................................................................... 64 1.8. Element post ............................................................................................. 65 1.9. Element read ............................................................................................. 67 1.10. Element mkdir .......................................................................................... 67 1.11. Element rmdir .......................................................................................... 68 1.12. Element delete ........................................................................................ 68 1.13. Element copy ............................................................................................ 68 1.14. Element zip ............................................................................................. 69 1.15. Element jar ............................................................................................. 70 1.16. Element shell .......................................................................................... 71 1.17. Element invoke ........................................................................................ 73 iii XMLmind XML Editor - Commands 1.18. Element subProcess ................................................................................. 75 1.19. Process variables ....................................................................................... 76 2. Commented examples ............................................................................................ 78 2.1. Convert explicitly or implicitly selected para to a formalpara .......................... 78 2.2. Convert a DocBook document to RTF .......................................................... 79 2.3. Convert ImageDemo document to HTML ..................................................... 82 6. Commands written in the Java™ programming language .................................................. 84 1. alert ...................................................................................................................... 85 2. add ....................................................................................................................... 86 3. addAttribute .......................................................................................................... 86 4. addBlockInFlow .................................................................................................... 86 5. autoSpellChecker ................................................................................................... 88 6. beep ...................................................................................................................... 88 7. cancelSelection ...................................................................................................... 88 8. center .................................................................................................................... 88 9. checkValidity ........................................................................................................ 89 10. con®rm ............................................................................................................... 89 11. contextualMenu ................................................................................................... 90 12. convert ................................................................................................................ 90 13. convertCase ......................................................................................................... 91 14. copy .................................................................................................................... 91 15. copyAsInclusion .................................................................................................. 91 16. copyChars ........................................................................................................... 92 17. copyImage ........................................................................................................... 93 18. cut ...................................................................................................................... 93 19. declareNamespace ............................................................................................... 93 20. demoteListItem .................................................................................................... 93 20.1. Con®guring the promoteListItem and demoteListItem commands ........... 94 21. delete .................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    191 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us