Projects / Sablotron


Sablotron is an XML toolkit which implements XSLT, DOM, and XPath. Sablotron is written in C++, and it can be used from C, Perl, Python, PHP, ObjectPascal, and via a command line interface. It supports the XSLT 1.0, XPath 1.0, and DOM Level 2 W3C specifications. It is designed to be as compact and portable as possible, and is maintained as an Open Source project by Ginger Alliance.

Operating Systems

Recent releases

  •  27 Jul 2006 13:55

    Release Notes: The dyn:evaluate() EXSLT function was added to evaluate strings as XPath expressions. A segfault which occurred when stylesheet import fails was fixed. User-defined scheme URIs are no longer encoded. A bug in sabcmd.cpp for Sun One Studio 8 Compiler was fixed. A bug in declarations of namespaces during serialization was fixed. Minor fixes were made for gcc 3.4.x. Mistakes in error messages were fixed.

    •  08 Jan 2003 12:20

      Release Notes: SCRIPT and STYLE were escaped for XHTML, xsl:import, xsl:strip-space, xsl:preserve-space, and esxlt:document were implemented, DOM support was upgraded to DOM Level2, and XSLT can now be used on external documents (via callbacks). The unparsed-entity-uri() function and an XSLT debugger were also implemented, and many significant bugfixes were made.

      •  17 Jan 2002 17:49

        Release Notes: New additions include JavaScript extensions, xsl:attribute-set + use-attribute-sets, lang(), exclude-result-prefixes, namespaces for xsl:element and xsl:attribute, improved output conformance, and many bugfixes.

        •  21 Nov 2001 15:07

          Release Notes: The 'following' and 'preceding' axes were implemented. An SXP callback was added for id(), and a 'user data' pointer was added for some callbacks. Many bugs were fixed.

          •  20 Sep 2001 11:32

            Release Notes: Added Sablotron XPath processor, implemented xsl:key and key(), implemented format-number() and xsl:decimal-format, implemented xsl:number, and made some minor fixes.

            Recent comments

            01 Feb 2001 01:41 tychay

            Sablotron 0.50 & PHP

            Sablotron is a portable XSL-T (eXtensible Stylesheet Language-Transform) processor written in C . It is considered fast and is an alternate to the Apache projects Xalan processor (

            With 0.50, Sablotron finally adds the much needed <xsl:sort> support. Note that in order to use it you must download the SourceForge version of Expat (

            It currently does not compile with the latest distribution of PHP. This is because PHP assumes previous versions of Sablotron. To get it to work, download a latest snapshot of PHP ( and overwrite your distribution's ext/sablot with the one in there. You also might need to add the compile lines --with-sablot=/usr/local and --with-expat=/usr/local


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.