XMLmind XML Editor V2.3 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml

--------------------------------------
XMLmind XML Editor V2.3 (May 07, 2003)
                             
Enhancements:

  * Standard controls such as buttons, menus,
    check boxes, combo boxes, lists, etc, can be
    embedded in the styled document view. Buttons
    and menus are used to execute commands such as
    insert element, replace element, etc. Other
    controls are used to edit attribute or element
    values. These controls are specified as
    generated content in the CSS style sheet. With
    this feature, XXE can be used to edit XML
    data, XML documents or a mix of both content
    types.

    New demo file
    XXE_distrib_dir/demo/bugreport.xml shows this
    feature in action for a mix of XML data (bug
    report fields) and XML document (descriptive
    fields contain styled XHTML).

  * A generic style sheet called xmldata.css can
    be used to style any data-oriented XML file.
    It is now used by default to style XML-Shemas
    and XXE configuration files.

    This very short style sheet makes heavy use of
    a pseudo-function called value-editor(). This
    specification instructs XXE to examine the DTD
    or XML-Schema to find which controls to embed
    in the document view. For example,
    value-editor() will automatically create two
    radio buttons to edit an attribute having
    strings yes and no as its possible values.

    This style sheet can easily create thousands
    of controls. Note that in fact what you see is
    thousands of ``control images'' and not actual
    controls. A document view contains at most a
    single actual control. This control replaces
    its ``image'' when you click on it or when you
    ``tab'' to give it keyboard focus.

  * XXE is much nicer to use for editing documents
    not constrained by a DTD or a XML-Schema.

    New option Simulate a document type
    (Options|Options, Open tab), turned on by
    default, may be used to simulate a document
    type for DTD-less documents.

    The pseudo document type simply remembers all
    attributes and child elements added to each
    element during the editing session. Thanks to
    this pseudo document type, the pick lists of
    the Edit and Attributes tools are always
    filled with sensible values.

  * Command enhancements (mainly useful to write
    macros):

       + Added command XXE.open which loads a
         document into XXE and command XXE.save
         which saves the document being edited in
         XXE.

       + Added command get which evaluates a
         simple XPath query in the context of
         selected element.

       + Enhanced command run (%DU, %DF
         substituted variables). Added command
         start, similar to run but which executes
         an external command asynchronously (like
         Windows start or Unix &).

       + Enhanced commands selectNode (self,
         preceding, precedingOrSelf, following,
         followingOrSelf options).

       + Added new commands addAttribute and
         removeAttribute and enhanced command
         putAttribute ([empty], [dummy], [id]
         options).

    For example these enhancements now allow to
    automate the following tasks:

       + Open image referenced in document being
         edited in an external image viewer (see
         XXE_distrib_dir/docs/poweruser/
         samples2/mydocbook.xxe).

       + Open URL referenced in document being
         edited in a Web browser.

       + Load document being edited in an external
         text editor, modify it using this text
         editor and reload modified document in
         XXE (see XXE_distrib_dir/docs/poweruser/
         samples2/defaultbindings.xxe).

  * CSS enhancements (all related to generated
    content):

       + Root element can now have generated
         content.

       + In addition to rows(), row(), cell(), new
         constructs division(), paragraph(),
         content() can be used to structure and
         layout generated content.

       + The image() pseudo-function has a new
         optional parameter which specifies which
         fallback image to use when the image to
         be displayed is not found or cannot be
         loaded.

       + gadget("com.xmlmind.xmledit.form.Collapser") 
         can now be specified as collapser()
         and the way the parameters of this toggle
         button are specified has changed.

       + If, for example, pseudo function
         element-name() displays the name of an
         element as cfg:documentResources, new
         pseudo-function element-label() displays
         it as "Document resources".

  * Configuration element "include" now has a
    boolean "system" attribute which can be used to
    include a configuration file located in XXE
    distribution directory (that is, a system wide
    configuration file) without having to
    explicitly specify the location of this
    directory.

    This attribute is very useful for a user
    wishing to override, say the bundled DocBook
    configuration, by a personal, customized, one
    (see XXE_distrib_dir/docs/poweruser/
    samples2/mydocbook.xxe).

  * Added a ID/IDREF navigation button to the
    toolbars specified in XXE configuration files.

  * Ctrl-Click-3 on the node path bar copies the
    displayed path to the clipboard.

Bug fixes:

  * Extending text selection to previous word
    (shortcut Ctrl+Shift-Left) did not behave as
    expected.

  * Dictionaries other than en.dar, fr.dar, de.dar
    and es.dar were not found by XXE.

  * Command selectFile returned a URL instead of a
    file name when used with parameter openFile,
    saveFile, openDirectory or saveDirectory.

  * Options Guess ignorable whitespace and Ignore
    <?xml-stylesheet?> (Options|Options, Open tab)
    required XXE to be restarted in order to be
    effective.

  * Default namespace specified by user using
    Tools|Declare Namespace was not saved as such
    by XXE (example:
    xmlns="http://www.acme.com/my/default/ns";) if
    the namespace was not used by elements or
    attributes in the document. This was
    especially annoying for XML-Schemas created
    using XXE.

  * XML Schema only: a false error was reported in
    the following case: an element is supposed to
    contain data (example: xs:int), is empty but
    has a default value (example: 0). Note that
    this error can only occur with XXE. It cannot
    occur with xsdvalid.

Reply via email to