You are looking at historical revision 4702 of this page. It may differ significantly from its current revision.

This is version 1.2 of the sxml-tools extension library for Chicken Scheme.


The sxml-tools from the SSAX project at Sourceforge.


This egg provides most of the sxml-tools available in the SSAX/SXML Sourceforge project. It incorporates several different extensions:

'''extension:''' (require-extension sxml-tools)

sxml-tools; sxpath; sxpathlib; sxpath-ext; txpath; and xpath-parser

'''extension:''' (require-extension sxml-tools-extra)

xpath-ast; xpath-context; ddo-axes; ddo-txpath; modif; lazy-xpath

'''extension:''' (require-extension stx-engine)
'''extension:''' (require-extension sxpath-plus)

Much documentation is available at Lisovsky's XML page and the SSAX homepage. For serious use, you will probably want to untar the egg and study the source and the included tests. See the README.txt file in the egg for details.

xlink, xlink-parser, fragments and guides are not provided as extensions, but they are included in the egg as source.


Examples are available in the sxml-tools documentation (see above). This one is a straightforward example of SXPath. Additionally, the sxml-tools tests are included in the egg. Untar it and read the README.txt file for details.


The match syntax in the stx-engine extension conflicts with the match syntax in Chicken core.

Although these files are pretty interdependent, they could be broken down further into separate extensions. sxpath could be pulled out, for example, with the caveat that txpath parsing would result in an error.

Not everything is tested, since tests are not provided for all functionality.

About this egg


Oleg Kiselyov, Kirill Lisovsky, Dmitry Lizorkin.

Version history

uses string-intersperse and concatenate instead of apply string-append and apply append to circumvent argument count limit [felix]
exports/imports support, split stx-engine into syntax & support files [Kon Lovett]
Initial release [zbigniew]


The sxml-tools are in the public domain.