Fred Brown wrote:
> 
> How do I move macros from an older version (3.6.2) of XXE to my new
> version (4.1.0)?
> 

Normally macros are immune to this major version change.

However,

* XXE v4 is now always namespace aware. This impact document types such
as XHTML (but not DocBook 4 or DITA).

Example:

---
  <command name="xhtml.splitOrInsertNewLine">
    <macro>
      <choice>
        <command name="insertControlChar" parameter="\n" />

        <sequence>
          <command name="selectNode"
                   parameter="ancestorOrSelf[implicitElement] p" />
          <command name="split" />
        </sequence>
      </choice>
    </macro>
  </command>
---

becomes:

---
  <command name="xhtml.splitOrInsertNewLine">
    <macro>
      <choice>
        <command name="insertControlChar" parameter="\n" />

        <sequence>
          <command name="selectNode"
                   parameter="ancestorOrSelf[implicitElement]
                              {http://www.w3.org/1999/xhtml}p"; />
          <command name="split" />
        </sequence>
      </choice>
    </macro>
  </command>
---

* Extensions that once were in com.xmlmind.xmleditapp are now in
com.xmlmind.xmleditext

Example:

---
  <command name="xhtml.tableEdit">
    <class>com.xmlmind.xmleditapp.xhtml.table.HTMLTableEdit</class>
  </command>
---

becomes:

---
  <command name="xhtml.tableEdit">
    <class>com.xmlmind.xmleditext.xhtml.table.HTMLTableEdit</class>
  </command>
---

* Some (rarely used) commands have been suppressed or replaced. They
should be all listed in "4.0 (July 21, 2008)"
http://www.xmlmind.com/xmleditor/changes.html.



---
PS: I've CC-ed our answers to xmleditor-support at xmlmind.com as your
questions and their answers are of general interest.


Reply via email to