A data structure for well-formed XML documents, designed for Common Lisp.
Acknowledgements: cxml-stp is inspired by XOM.
Download a tarball.
ASDF is used for compilation. Register the .asd file, e.g. by symlinking it, then compile cxml-stp using asdf:operate.
$ ln -sf `pwd`/cxml-stp.asd /path/to/your/registry/ * (asdf:operate 'asdf:load-op :cxml-stp)
Implementation-specific notes: At this point, cxml-stp is written to work with Lisp strings (as opposed to runes and rods), and is meant to be used on Lisp implementations with Unicode support.
⬗ Code snippets from the tutorial collected on one page
There is also a rough "STP for DOM users" comparison which should be useful if you have a specific DOM function in mind and are looking for STP's equivalent.
- XPath support. (Thanks to Ivan Shvedunov for his contributions.)
- Use 21 bit characters on Lisps offering them.
- New function NUMBER-OF-CHILDREN.
- Fixed FILTER-CHILDREN to return a list, not a vector.
- Shortcut syntax using symbol in WITH-ATTRIBUTE (thanks to Cyrus Harmon).
- Minor changes: Disabled uri syntax warnings. Represent uris as strings, not puri objects.
- New function FIND-RECURSIVELY-IF.
- Minor changes: Update to current CXML's SAX builders.
- Initial public release.