[Treebeard-entmoot] New Version - v0.1.8 available
Status: Beta
Brought to you by:
rohanr2
|
From: rob <me...@ro...> - 2002-07-28 16:20:16
|
Version 0.1.8 is pretty cool if I do say so myself. It fixes a couple
bugs from 0.1.5, and has a lot of editor work done (I bought a fat book
on swing).
If you are using the windows version, I recommend you uninstall any
previous version before installing this version. Normally it's fine to
install Treebeard over its self; however, changes were made to this
version that could cause problems if the previous version is still
installed.
For those using the just_treebeard version, I renamed the class Main to
Treebeard, so you'll have to change your paths accordingly (if not using
the -jar feature). I don't know why I named it Main in the first place,
that was silly. Also, if you download the config.xml file, the "new
xslt" feature will then work
The editor in 0.1.5 (the EditorKit for those in the know) was pieced
together from examples I found on the web. The examples turned out to be
lame, misleading, slow, and lead me in the wrong direction. The new
EditorKit is vastly improved, and adds normal editor features like
cut/copy/paste menus and undo/redo capabilities. Syntax highlighting is
still not working right so it's not in this release - it's getting close
though.
The new "Tree view" for XML documents is only partially done, but it's
fun to play with so I added it in this release. In the future, you'll be
able to build xpaths with it. You can use it right now to do simple
validation on XML documents, as the XML text runs through SAX when
building the tree.
I am assuming that most of the people using Treebeard are just learning
XSLT. Here are a couple tricks you can do with Treebeard:
* If you go to http://www.google.com and type in "[search criteria]
filetype:xml", you can search for only XML documents. When you find a
nice one, you can copy the URL and use it in Treebeard by pasting the
URL into the "load XML" dialog box. It's easier than typing in XML
examples and gives you a better idea of XML in the real world.
* If you want to do includes - like an xsl:import - put the files
into the Treebeard install directory. For example, C:\Program
Files\Treebeard\ on a default windows setup. That directory is where
Treebeard thinks root is. You can get fun things to include (and killer
example/libraries) at http://www.exslt.org
* If you don't like the default template that "New XSLT" gives you, you
can change it by loading the config.xml file (in the install directory)
and editing the default templates (there will be a menu, but that isn't
due for several versions)
Cheers,
Rob
|