Together with SWIG (http://www.swig.org),
one can use highly-optimized XMLBooster generated parsers from within dynamic
languages such as Python (Other similar scripting languages are to follow).
SWIG is a tool that exposes C libraries to a number of language and environments,
so that a highly optimized primitives can be combined seamlessly from within dynamic
and interactive languages, thereby aiming at providing the best of both worlds:
the performance of C and the flexibility and interactivity of interpreted environments.
The SWIG code generator included in XMLBooster is based on the following assumptions:
As one can expect, XMLBooster’s SWIG code generator
is based on its C code generator.
SWIG is a compiler that takes C declarations as input
and creates the wrappers needed to access those
declarations from other languages. The “.h” file
produced by XMLBOOSTER is therefore annotated with
special SWIG directives.
Even if most of the machinery is strictly identical across
target languages, XMLBooster has separate code generator
for each of the different SWIG target it supports so that
subtle differences can be taken into account.
XMLBooster (or rather, SWIG) generates objects in the
target scripting language to represent the data structures
of the underlying XML document. These objects are just
façades. SWIG creates accessor functions for each field of
each element, and these functions will ultimately read and
write field in the underlying C structure.
At the time of this writing, only Python is supported, other
targets are to be added in the near future.
"We use XMLBooster as a fast prototyping tool. The data model is turned
into a working GUI in less than a minute, and the final user can validate
the resulting application and provide feedback instantly."
Laurent R., Financial markets, France
"Using these strongly typed interface is so productive when compared with
DOM parsers, I can't believe anyone still contemplates Xerxes for
serious work."
John F., Financial markets, Canada
"The scripting facility has allowed us to automate the entire compilation chain,
from schemas to optimized parsers."
Michel M., Insurance, France
"We now generate GUIs for every XML schema we have, just in case."
Nicholas P., System integration, USA
"XMLBooster-generated GUI's have slashed our development
times. And they can be customized to better suit the
needs and tastes of our customers. A great product!"
Chris C., Document management, USA
"It works like magic. I just don't have to worry
about the XML issue any longer, I can concentrate
on my application"
John W., System integrator, Netherlands
"XMLBooster is so fast, it solved all our performance
problems"
Alain de N., Belgium
"As far as I know, XMLBooster is the only decent
solution to integrate XML in COBOL applications"