XML::STX

STX processor

XML::STX is a pure Perl implementation of STX processor. Streaming Transformations for XML (STX) is a one-pass transformation language for XML documents that builds on the Simple API for XML (SAX). XML::STX should still be considered an alpha version; the STX 1.0 specification is a work in progress, and the current working draft isn't implemented in full yet. However, the processor is developed actively and tries to keep in touch with the spec development.

XML::STX requires XML::SAX, XML::NamespaceSupport and Clone. XML::STX operates in Perl SAX2 environment. Any SAX2 parser can be used to parse STX stylesheets. XML::SAX::Expat and XML::SAX::PurePerl have been tested successfully. Any Perl SAX2 driver or handler can be used as a data source or the output handler, respectively.

XML::STX implements an API that is a Perl version of TrAX interface from JAXP (aka JAXP transformation API). See the Perl-TrAX API Reference for details.

Documentation:

You can check out the implementation status (v0.42 vs. STX 1.0 Working Draft 5 May 2003). Other documentation include manual, API Reference and the change log.

Download

The latest package can be downloaded either from this site or from CPAN.

Download