XMLmind XML Editor V2.11 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml
_____________________________________________
V2.11 (July 11, 2005)
Enhancements:
~~~~~~~~~~~~~
* The Select menu now contains a Find Element
item. This menu item displays a dialog box
which allows to select nodes specified using
an XPath expression. This dialog box has a
Simple tab which allows to perform most common
search tasks without having to learn XPath.
Arbitrarily complex XPath expressions are
specified using the Advanced tab.
The same facility is also found at the very
right of the node path bar in the form of the
magnifying lens icon.
* The Tools menu now contains a Record Macro
submenu. This new facility allows to record a
sequence of commands and to replay the
recorded sequence at will.
The Record Macro facility used in conjunction
with the new Find Element facility or with the
Search text facility may be seen as an
advanced, versatile, yet simple to use, form
of search/replace.
Only editing commands can be recorded. That
is, commands that modify the contents and/or
the selection marks of the document being
edited. Actions such as File|Open or
Style|Both Tree and Styled Views cannot be
recorded.
The commands being recorded are invoked as
usual: use key bindings, menu items, tool bar
buttons.
Typing some text is of course supported.
``Tabbing'' from a text node to another is
supported too.
Tools such as the Edit, Attributes, Search
(only when searching, not when replacing) and
Characters tools can also be used during a
recording. They have been modified to
cooperate with the Record Macro facility.
Note that it is not possible to record
commands triggered by mouse clicks, nor it is
possible to record ``special'' commands such
as undo, redo, repeat.
* What if you want to record a command which is
not bound to a keystroke, menu item or tool
bar button? (Example: command convertCase.)
Answer: use new menu item Execute Command
found in the Tools menu. This menu item
displays a dialog box which allows to choose a
command by name. (For advanced users only.)
* User Request: the Characters tool now has a
Favorites palette. Select this palette as
usual using the menu of the combobox.
This Favorites palette is populated by
right-clicking on a character and by choosing
the "Add to Favorites" item in the popup menu.
* User Request: the new popup menu of the
Characters tool has a Copy item which allows
to copy to the clipboard the character clicked
upon.
* User Request: the very first time a document
is opened or saved in XXE, the file chooser
dialog box displays the contents of the user's
home directory. Previously, this dialog box
displayed the contents of current working
directory, which was somewhat non-intuitive.
* Added a Fit Viewport in Window button to the
Resize SVG dialog box.
This button not only adjusts the viewport size
to a reasonable value, but also fixes the
bounding box of the graphics (if needed to and
when possible).
While useful in the general case, Fit Viewport
in Window is really needed to cope with SVG
editors which set the viewBox attribute of the
topmost svg element to the page dimensions,
instead of setting it the actual bounding box
of the graphics.
Bug fixes:
~~~~~~~~~~
* On multi-head PCs, popup menus were displayed
at wrong locations (and even on the wrong
monitor).
* Command putAttribute could not work unless an
attribute value was specified.
* Command putAttribute is now disabled if the
target element already has the same attribute
with the same value.
* Command removeAttribute is now disabled if the
target element does not have the attribute to
be removed.
* All repeatable commands now properly update
the executable state of the repeat command.
* Command showMatchingChar raised a
NullPointerException when the matching
character was contained in a collapsed
section.
Technical information:
~~~~~~~~~~~~~~~~~~~~~~
* Added the following new commands:
insertSpecialChars
Allows to insert one or more
characters using a modal dialog box
containing a palette of characters
(same as the Characters tool in XXE).
searchReplace
Displays a modal dialog box which
allows to search and replace text in
the document being edited (same as
the Search tool in XXE).
spellCheck
Displays a modal dialog box which
allows to check the spelling of the
document being edited (same as the
Spell tool in XXE).
These commands have been added mainly to allow
simple XML editors built using XXE components
(that is, not XXE itself) to have the same
facilities than XXE.
* Added command search which can be used to
search text (just search, not replace). Unlike
command searchReplace described above, command
search has been designed to be used in
macro-commands.
* Added command confirm which is useful when
writing interactive macro-commands.
* New menu item Select|Find Element corresponds
to new command xpathSearch.
* New submenu Tools|Record Macro corresponds to
new command recordMacro.
* Made the following commands repeatable (e.g.
using Ctrl-A): addAttribute, execute, include,
putAttribute, run, start.
* Command removeAttribute now has a [force]
option.
* Greatly improved the dialog box displayed by
command execute.
* Added two new ``proprietary'' extensions to
CSS: @property-group and @property-value.
Simple @property-group example:
--------------------------------------------------
@property-group verbatim-style() {
font-family: monospace;
font-size: 0.83em;
}
literal {
display: inline;
property-group: verbatim-style();
}
--------------------------------------------------
The above snippet is equivalent to:
--------------------------------------------------
literal {
display: inline;
font-family: monospace;
font-size: 0.83em;
}
--------------------------------------------------
Simple @property-value example:
--------------------------------------------------
@property-value attributes-editor(margin, bg)
attributes(margin-top, margin,
margin-bottom, margin,
margin-left, margin,
margin-right, margin,
background-color, bg);
target {
content: attributes-editor(2, #E0E0E0);
}
--------------------------------------------------
The above snippet is equivalent to:
--------------------------------------------------
target {
content: attributes(margin-top, 2,
margin-bottom, 2,
margin-left, 2,
margin-right, 2,
background-color, #E0E0E0);
}
--------------------------------------------------
These extensions are useful when writing
complex, modular, CSS style sheets.
@property-value is especially useful when
generating complex content such as embedded
form controls.
Possible incompatibilities:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Standard Edition can no longer be used to edit
documents conforming to a W3C XML Schema or
RELAX NG schema and having a root element with
no namespace.
Now that it has been decided that the official
namespace of DocBook NG is
"http://docbook.org/ns/docbook", we see no
reason to allow root elements with no
namespace in Standard Edition.