Mark Roden wrote:
> Is there a way to view and work with the XML source in the
> product?  

No. But I have this macro in my ~/.xxe/addon/customize.xxe:

---
  <!-- =================================================================
    Use external editor to edit XML source of current document
    and automatically reload it when done.

    On Windows, replace emacs by the path to your favorite text editor.
    (Mine is C:\emacs\bin\emacs!)
    Make sure that this editor supports Unix-style newlines
    and the encoding you have chosen for your XML documents.
  ================================================================= -->

  <command name="editXMLSource">
    <macro>
      <sequence>
        <command name="XXE.save" parameter="[ifNeeded]" />
        <command name="run" parameter='emacs "%D"' />
        <command name="XXE.open" parameter="[reopenIfNewer]" />
      </sequence>
    </macro>
  </command>

  <binding>
    <keyPressed code="ESCAPE" />
    <charTyped char="e" />
    <command name="editXMLSource" />
  </binding>
---

I *never* use it.



> I'm thinking for editing tables, that might be easier.

Even if you don't like the table specific commands found in the XHTML or
in the DocBook menus, I don't see how editing tables with an XML *text*
editor could be easier than:
* inserting row-groups, rows and cells using XMLmind XML Editor,
* creating and modifying <colgroup>, <col>, <colspec>, <spanspec> using
XMLmind XML Editor.

Without the help of table specific commands, editing tables in XMLmind
XML Editor works exactly the same as editing any other type of element.
I mean: it works fine.



Reply via email to