ANN: 4XPath 0.8.3 and 4XSLT 0.8.3

Uche Ogbuji
Thu, 16 Mar 2000 22:21:30 -0700

Fourthought, Inc. ( announces the release of

                      4XSLT and 4XPath 0.8.3
                      A python implementation
                     of the W3C's XSLT language

4XSLT is an XML transformation processor based on the W3C's
for the XSLT transform language.  4XPath implements the W3C XPath
for indicating and selecting XML document components.

4XPath implements the full 4XPath recommendation except for the 'lang'
core function.

Currently, 4XSLT supports a sub-set of the XSLT recommendation including
the following:

Full expression support and attribute-value template expansion
xsl:include                     xsl:import
xsl:template                    xsl:apply-imports
xsl:apply-templates             xsl:copy
xsl:call-template               xsl:if
xsl:for-each                    xsl:choose
xsl:element                     xsl:when
xsl:attribute                   xsl:otherwise
xsl:text                        xsl:message
xsl:value-of                    xsl:variable
xsl:processing-instruction      xsl:param
xsl:comment                     xsl:with-param
xsl:strip-space                 xsl:key
xsl:preserve-space              xsl:copy-of
xsl:sort                        xsl:namespace-alias
xsl:output                      xsl:number

and, of course, xsl:stylesheet, xsl:transform, literal elements and text

Using the xml output method, 4XSLT produces the result tree by throwing
events from the emerging SAX 2 standard to a handler, so it can be
modified to supply results to any SAX 2 consumer.  For the 'html' and
'text' output methods special SAX consumers produce HTML DOM nodes and
plain text respectively.

Note: 4XSLT and 4XPath cannot work with JPython.


Changes in 0.8.3

 - _Major_ performance improvement (by indexing for document order)
 - Add XPath API for document-indexing optimization  
 - Implemented xsl:number
 - Properly wrap exceptions and fix pseudo-i18n
 - Plug memory leak with RTF variables and params
 - Fixed document() function
 - Fixed bugs in apply-templates
 - A profusion of bug-fixes

More info and Obtaining 4XPath and 4XSLT

Please see

Or you can download 4XSLT from

There are Linux RPMs available at

4XPath and 4XSLT are distributed under a license similar to that of

Uche Ogbuji
Fourthought, Inc., IT Consultants	(970)481-0805
Software-engineering, project-management, knowledge-management