maurizio codogno wrote:
> Is there a way to see exactly which commands are run?
> Message log says what it is done, not which commands were run.

If you want to debug macro-commands, add attribute trace="true" to the
macro and run XXE with a console.

Example:
---
  <command name="docb.moveListItemUp">
    <macro undoable="true" trace="true">
      <sequence>
        <command name="selectNode"
          parameter="ancestorOrSelf[implicitElement]
                     listitem callout step" />
        <match context="$selected" pattern="*[position() &gt; 1]" />
        <set variable="anchor" context="$selected"
             expression="./preceding-sibling::*[1]" />
        <command name="cut" />
        <set variable="selected" expression="$anchor" />
        <command name="paste" parameter="before" />
      </sequence>
    </macro>
  </command>
---
See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/ch04s01.html

-----------------------------------
In order to run XXE with a console:

Here I assume that you start XXE using the ``icon/launcher created by
the installer'' (file xxe.exe) in the Start menu:

1. Go to the bin/ subdirectory of the directory where you have installed
XXE, for example C:\Program Files\XMLmind_XML_Editor\bin.

2. Edit xxe.jstart using notepad. Make sure to use a version of notepad
which supports the UTF-8 encoding.

3. Change line:

---
start jre\bin\javaw.exe
---

to:

---
start jre\bin\java.exe
---

4. Make sure to save your changes using the UTF-8 encoding.

5. Start XXE as usual, using the "Start" menu/"XMLmind XML Editor"
group/"XMLmind XML Editor" entry.
-----------------------------------

Reply via email to