XMLmind XML Editor V2.7 Patch 1 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml
=================================
V2.7 Patch 1 (September 17, 2004)
Enhancements: (see technical details below)
-------------------------------------------
* Clicking in the new gray margins found at the
left and at the right of the styled document
view allows to quickly select the ``block''
(paragraphs, row, row group, table) which is
in front of the mouse click.
Clicking again in the gray margin without
moving the mouse selects the parent of the
selected block. Clicking again without moving
the mouse selects the grand-parent and so on.
These gray margins can be removed by using the
Options dialog box, Window tab, "Add
interactive margins to styled views" toggle.
Users preferring to always have the tree view
and the styled view side by side don't need
them.
* It is now possible to quickly change the url
attribute of a DocBook ulink element or to
change the href attribute of an XHTML a
element by dragging and dropping a file
(typically coming from an external file or web
browser) on these elements.
* As before Ctrl-clicking on a node selects this
node. But now, Ctrl-clicking again without
moving the mouse selects the parent of this
node. Ctrl-clicking again without moving the
mouse selects the grand-parent and so on.
* It is now possible to extensively customize a
process command by overriding the XSLT style
sheets used by its transform child elements.
Example: if a process command is called
docb.toPS, defining the following property in
any XXE configuration file allows to use
customized XSLT style sheet fo_docbook.xsl
instead of the one normally used by the
process command:
---------------------------------------
<property name="docb.toPS.transform"
url="true">fo_docbook.xsl</property>
---------------------------------------
* User request: headers and footers of pages
printed using File|Print can now contain more
variables than before: %f (short file name),
%B (base name), %D (date), %T (time).
* User Request: XXE distribution now includes
the DocBook DTD V4.3. The CSS style sheet has
been adapted to support all new elements
except HTML tables (see below). The XML
catalog has been updated too. Directory
XXE_install_dir/config/docbook/template_43/
contains document templates based on the DTD
V4.3.
However this version is not yet the one used
by default by XXE and, this, for the following
reasons:
+ It is not yet possible to download
http://www.oasis-open.org/docbook/xml/4.3
/docbookx.dtd from OASIS (because such
file does not exist). Therefore DocBook
4.3 documents are not yet
interchangeable. That is, you really need
a local copy of the DTD to open them.
+ DocBook 4.3 supports HTML tables as well
as CALS tables. Fully supporting this
feature in XXE will take time. Meanwhile,
we have excluded the HTML table module
from the DTD V4.3 included in the
distribution.
* Upgraded the Slides document type (DTD, XSLT
style sheets, documentation, XXE
configuration, etc) to V3.3.1. Gave up support
of Slides V2.0.
* Updated Czech localization thanks to Martin
Kolar?k (kolarik AT mii DOT cz).
Technical details about the enhancements (for
local gurus):
---------------------------------------------
* It is now possible to bind, not only mouse
clicks and keystrokes to commands, but also
application events. Unlike user inputs,
application events are not generated by the
graphics system (i.e. Java[tm] AWT).
Application events are directly created and
dispatched to the document view by XXE.
Currently XXE generates the following
application events:
+ file-drop.
+ Mouse clicks in the left or in the right
margin of styled document views such as:
right-margin-click2,
left-margin-double-click1,
right-margin-popup-trigger,
right-margin-ctrl-shift-click1, etc.
Examples:
------------------------------------------------------
<binding>
<appEvent name="file-drop" />
<command name="docb.fileDrop" parameter="%{url}" />
</binding>
<binding>
<appEvent name="left-margin-click1" />
<command name="selectBlockAtY" parameter="orParent" />
</binding>
------------------------------------------------------
* Added new generated content object
file-drop-site. This object is a variant of
command-button which executes a command when a
file is dragged and dropped on it.
You can see the file-drop-site object in
action in the
XXE_install_dir/demo/bugreport.xml demo:
dropping an image on this object directly adds
a properly configured screenShot element to
the bugReport element.
---------------------------------------------------------
br|date:after {
display: block;
content: file-drop-site(
text, "Drop a screen shot here",
icon, url(drop.gif),
icon-position, right,
command, "paste",
parameter, "after <?xml version='1.0'?><screenShot \
xmlns='http://www.xmlmind.com/xmleditor/schema/bugreport' \
image='%{url}'/>");
}
---------------------------------------------------------
Note that using this new generated content
object is orthogonal to binding a file-drop
application event to a contextual command.
* Added new command selectBlockAtY.
* Added parameter orParent to selectNodeAt.
* Added new commands setObject and extractObject
which are generic variants of setImage and
extractImage.
* Added relativize-uri() XPath function and also
$clickedElement and $clickedNode XPath
variables.
Bug fixes:
----------
* On Windows, UNC paths (e.g.
\\server\share\directory\file) were not
properly handled.
* If an XIncluded module had an XXE
configuration, it was that configuration which
was used for the XIncluding master document.
This posed a problem when the XXE
configurations of the XIncluded module and the
XIncluding master document were different.
* The XML catalogs were used by the built-in
XSLT engine (Saxon) to resolve the URLs used
in document() but not, much more important, to
resolve the URLs used in xsl:import and
xsl:include.
* The magic numbers declared by imageToolkits
configuration elements were not used by
command extractImage and by the
copyDocument/extract child elements of process
commands.
* Headers and footers of pages printed using
File|Print could overflow on each other when
their contents were too wide. Now these
contents are clipped when needed to.
* In process/copyDocument configuration
elements, resource handling rules such as
-----------------------------------------------
<resources match=".+\.(png|jpg|jpeg|gif)"
copyTo="resources" />
-----------------------------------------------
now contain case-insensitive regular
expressions. Previously, these regular
expressions were case-sensitive and for
example, image files such as BIG_LOGO.GIF and
Architecture.PNG were not handled by the above
rule.
* The red line drawn around the selected row was
often incorrect when this row contained cells
spanning other rows.
* When XXE was used to edit a document stored on
a remote server (typically a WebDAV server),
the images referenced in this document looked
garbled.
* XXE_install_dir/docs/configure/samples/ and
XXE_install_dir/docs/configure/samples2/ were
missing from the V2.7 distribution.
Possible incompatibilities:
---------------------------
* Newly created Slides documents now conform to
the Slides DTD V3.3.0.