cxml
Namespace-aware, validating XML parser with SAX and StAX-like interfaces.

Info Project name: cxml, Closure XML

Original author: Gilbert Baumann
Current maintainer: David Lichteblau

Categories: XML

Homepage: common-lisp.net

Download (tarball): Yes, see below

Download (git clone): git://repo.or.cz/cxml.git (gitweb)

This project is asdf-installable (release tarball) and available in clbuild (git version).

Project An XML parser written in Common Lisp.

Feature overview

  • Namespace-aware, validating XML 1.0 parser
  • Two parser interfaces are offered, one SAX-like, the other similar to StAX.
  • Implementation of W3C DOM included

In-memory representations that can be used with cxml:

  • DOM Level 2 Core (included with cxml)
  • Lisp lists in the xmls format, included as example code with cxml
  • cxml-stp, an alternative to DOM (add-on installation)

Relax NG validation is available as an add-on page, see cxml-rng. XPath is implemented by plexippus-xpath.

Relation to Closure HTML

cxml itself parses well-formed XML only. To parse HTML, use closure-html.

Etymology

cxml is short for Closure XML, in reference to the Closure web browser it was originally written for.

Note that the Closure web browser is not related to the Clozure implementation of Common Lisp and works on various Common Lisp implementations.

Tarball

ASDF-install package (obsolete) http://www.common-lisp.net/project/cxml/download/cxml.tar.gz