o2xdl core
The CORE level of o2xdl is a language that define XML o2x:object and the function Realize(o2x:object).
Minimal o2x:object
A minimal
o2x:object consists of one XML
structure o2x:dataValues and one
XSLT transformation o2x:method. The
dataValues and methods can be coded inline into
the o2x:object, or can be references
to local o remote files.
See
minimal_object01.o2xSobj.
Simple o2x:object
A
simple o2x:object can have [0..n]
o2x:dataValues and [1..n]
o2x:method. Two attributes
controls the methods selection:
visibility and context.
Methods can have o2x:paramValues,
i.e. method's private data.
See
simple_object06.o2xSobj.
Complex o2x:object
A
complex o2x:object contains other
o2x:objects in one o more
o2x:contentList. It is
responsability of the container methods to
realize the o2x:object lists in the right order.
Also in this case any object or is coded into the
list, or is replaced by a reference.
See
twopoly_complex08.o2xSobj.
Realize()
The fundamental operation defined on o2x:object is Realize(), which consists in applying the XSLT transformation to XML data.
o2x:dataValues
using o2x:method →
any-output-allowed