Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Editing it the Cheap Way: Xeena

July 19, 1999

Xeena is a free DTD-based XML editor from IBM's alphaWorks group, folks who have been doing amazing things with XML and Java (and virtually all software is available without charge). Xeena's main advantage is that it creates an XML editor instance (at runtime) that is based on a given DTD. This is particularly useful if you are developing a DTD and you want to provide users a customized editor. Although it is not required, you can also customize Xeena to use application-specific icons and a color scheme you provide. (It is this optional customization that distinguishes Xeena from XML Pro and XML Spy.)

Note: If you decide to download Xeena, be sure to read the README file because it discusses several less than obvious limitations and what to do about them.

Xeena 1.0.2
by IBM alphaWorks
Xeena "takes as input a given DTD, and automatically builds a palette containing the elements defined in the DTD....The visual paradigm requires a minimum learning curve as only valid constructs/elements are presented to the user in a context-sensitive palette. A Key feature of Xeena is its syntax directed editing ability. Xeena is aware of the DTD grammar, and by making only authorized elements icons sensitive, automatically ensures that all documents generated are valid according to the given DTD."
alphaworks.ibm.com/tech/xeena Mac, Windows 95/NT/98 or Unix platform with JDK 1.1.6 or later required.
Examples/xeena1.gif
(this link will appear in another window)
Screenshot of addressbook example that comes with Xeena.
Examples/xeena2.gif
(this link will appear in another window)
Screenshot of WDVL collection1.dtd example
Examples/xeena-WDVL.bat
(this link will appear in another window)
DOS Batch file you will need to edit to run Xeena with WDVL example.

In the first screenshot in the above table, you will see how Xeena looks when fully customized with a DTD, special icons, and color scheme. This is the addressbook example that is delivered with Xeena. Note the Attributes dialog that permits you to modify an element's attributes.

The second screenshot resulted from using the collection1.dtd that we generated in Part 1 of this article and invoking Xeena with that DTD. It is important to note that we did not do either of the optional customization steps (icons or color schemes), so what you see in this screenshot is the default behavior of Xeena with a new DTD. For Windows users, we've included a .bat file which you must edit to define two locations on your PC. Change the definition of XEENA_HOME to point to where you've installed Xeena, and change DOING_IT_EXAMPLES to be where you unzipped WDVL's Examples/doingit2.zip file, as shown below.

set XEENA_HOME=C:\IBM\Xeena
set DOING_IT_EXAMPLES=C:\KEN\WDVL\DOING-IT\Examples
cd %XEENA_HOME%
xeena %DOING_IT_EXAMPLES%\collection1.dtd Collection

Once Xeena displays the editor based on our collection1.dtd, choose File|Open and select collection1.xml from the same directory that contains collection1.dtd.

Editing it the Cheap Way: XML Spy
Doing It With XML, Part 2
Editing it the Cheap Way: EditorMaker


Up to => Home / Authoring / Languages / XML / Tutorials / DoingIt




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers