Summary

Daxe

Daxe

Daxe is an XML editor for the web. It works in the same way as Jaxe, using an XML schema and a configuration file to define the XML language and the editor UI. A number of common element displays are provided with Daxe to make it easy to create a new editor UI for any XML language.

Daxe is written in Dart, which is transformed into Javascript to work in modern web browsers (it does not work on IE before version 9). As with any Javascript application, it works without the need for a plugin.

In itself, Daxe is not very useful, because it cannot open or save a local file (because of browser restrictions). It needs to be either used with the Daxe desktop application, or included into a larger system like a CMS. Daxe is now integrated into WebJaxe, and will soon be used in LON-CAPA.

Using Daxe

An XML file can easily be opened in Daxe with the following parameters:

  • config: the path to the configuration file (required)
  • file: the path to the file to be edited (optional, a new document is created if it is not specified)

To integrate Daxe into a larger system and make it possible to save documents, see CMS integration.

Building and testing

  • Get the code from Daxe on github
  • Install the Dart SDK.
  • ./build.sh (or just pub build with pub on the PATH)
  • copy the build/web directory on a server (here localhost, with the contents of build/web inside a daxe directory)
  • run with the URL http://localhost/daxe/daxe_js.html?config=config/XPAGES_config.xml

Precompiled version

If you have trouble compiling (the Dart SDK is not available on all platforms), you can use this precompiled version, but it will not be up-to-date.

daxe.zip

Licence

Daxe is licenced under the GPL version 3 or later.