KinoHome

Kino

Kino is an experimental XML parser and CSS render, used as a runtime environment for Active Hypertext Documents. The XML and CSS capabilities do not conform to the respective standards, however enough features are implemented to process and display XML documents with CSS stylesheets. Kino is implemented in portable C, with adapter layers for the X Toolkit and Gtk.

Version: 2.5.0

Author: Eckhart Köppen

License: LGPL 2.0

Download: kino-2.5.0.tar.gz

Usage

The Kino package is a library and at least the parser component should be easy to incorporate into existing or new programs. It comes as a gzipped tar file which expands into a subdirectory. Since the package is maintained using libtool, automake and autoconf, configuration and compilation is straightfoward:

./configure
make

and optionally

make install

To see some basic operations with the Kino parser, check out the simple application under test/parsertest.c. It looks quite complicated to just parse a simple XML text, but the initial steps to set up the parser, the document and the root element can be packaged into a convenience function.

To display the parsed document, create an instance of the Kino widget, pass it the document using KinoSetDocument and issue a KinoRelayout.

There is also a short Tcl script which uses the new Tcl wrapper to show how the parser can be used. The script and another small script that shows how a parsed tree can be traversed using the DOM functions can be found in the doc subdirectory.

Implementation

Unfortunately, the developer documentation is still very sparse. However, the interface is documented in an XML file which is also used to generate wrappers for SWIG. In addition, there are example programs under the test subdirectory, beyond that, the DOM specification at the W3 Consortium somewhat describes the interface to the underlying data structures.

The Kino package consists of three parts:

There are also some papers available on the architecutre of the Kino processor, applications using Kino and related research based on Kino:

Files

kino-2.5.0.tar.gz