“Cocoon is a powerful tool for publishing content to multiple
formats from XML. It can be used for static content, but its most
powerful application is publishing dynamically generated XML
streams. The XML streams can come from database information wrapped
in XML tags, from XHTML Web site content from a remote site (as
would be common in portal integration), from Web services, or from
a multitude of other sources.“This article describes how to integrate Cocoon with PostgreSQL,
a leading open source database. Once you learn how to access
PostgreSQL data (or any other relational database) from Cocoon, you
can develop robust XML-driven applications with a relational
backend. Think about it: XML is highly structured data; relational
databases store highly structured data–it’s a natural fit…”