Making XSLT style sheets from XSLT components
XSLT style sheets can be used to dynamically transform XML to complex
presentation markup for browsers -- but if the presentation is complex, the
style sheet will be too. What's needed is some tool that can build complex
style sheets from simple components. Since XSLT is itself an XML, XSLT can
be manipulated with XSLT; style sheets can write style sheets. This article
shows how an XSLT style sheet that performs some particular runtime
transformation can be built from XSLT components.
xml_pickle and xml_objectify
Since author David Mertz first introduced his handy utilities for
high-level Python handling of XML documents, users and readers have
contributed a number of extremely useful enhancements and suggestions. This
column presents some of the changes to his module suite, as well as some
tips on advanced aspects of using and customizing the modules. Code samples
demonstrate py_obj._XML attributes, node attributes treated as objects and
lists, py_obj magic attribute behavior, and more.
ebXML is a big project with a lot of pieces. This article outlines how the
pieces all fit together. This overview provides an introduction to the
ebXML concept and then looks a bit more specifically at the representation
of business processes, an important starting point for ebXML
implementations. Two bits of sample code demonstrate the
ProcessSpecification DTD and a package of collaborations.