SiSU (Structured information, Serialized Units) is a lightweight markup based, text structuring and publishing framework (that features granular search). With minimal markup of a plaintext file, it produces: plain-text, HTML, XHTML, XML, ODF, LaTeX, PDF, and populates an SQL database at an object/paragraph level for granular searches. Prepare documents using your text editor of choice, then use SiSU to generate the desired output formats. SiSU is controlled from the command line.
Berkeley DB XML is a native XML database engine for use within your product. Made available as a C++ library with language bindings for Java, Perl, Python, PHP, and Tcl, it integrates directly into your application (it is not a standalone database server). It provides XQuery access into a database of document containers. XML documents are stored and indexed in their native format using Berkeley DB as the transactional database engine.
Compendium is a tool to generate encyclopedia-type Web sites (e.g., databases of books, authors, publishers, and literary genres) from content housed in a MySQL database, based on HTML templates. It generates pages with relatively static content and relies on Ruby on Rails for providing a backend to maintain the database. It radically separates content (in the database) from presentation. To facilitate this separation, it allows users to define their own custom tags and provides a simple translation engine to deal with, for example, tables of contents and navigation paths.