Note: This is taken from the Chicken Wiki, where a more recent version could be available.

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

Description

The sxml-tools from the SSAX project at Sourceforge.

Documentation

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

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.

Bugs

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

Author

Oleg Kiselyov, Kirill Lisovsky, Dmitry Lizorkin.

Version history

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

License

The sxml-tools are in the public domain.