pg_xnode
pg_xnode is an extension of PostgreSQL database server
It allows for easy manipulation with XML document tree and its parts (nodes) - in a way that follows Document Object Model (DOM).