eBook is an example of an eXML tree
based parser application. It is
included in the eXML package. But
eBook is more than a plain example, it
is pretty much an application of its
own. For example this whole web site
is generated using eBook. The text and
structure of this web site is stored
in a XML-document. eBook takes this
XML-document and some additional
layout files and generates HTML pages
as output.
There are several
reasons why this can be
usefull. I.e. eBook automatically
generates the menu you can see at the
left. If I want to have a new design
for a site generated with ebook I need
to change the layout files only. For
more sophisticated changes I make
changes in the source code of
ebook. But I never need to touch the
actual content (the XML-file). This
means that eBook helps you to seperate
the actual information from the layout
of HTML sites. It makes it even
possible to create different
layout-files for different browsers,
so you do not need to fidle with
compatibility problems.
Currently there is not much
documentation available about
eBook. Have a look at the test data in
the directory
"/examples/test_data/ebook/input" to
see how eBook works.