Hi Robert, On 10 Jun 2009, at 16:17, Robert Felten wrote:
hi all, i want to use couchdb for storing XML documents. i saw on http://www.cmlenz.net/archives/2008/03/couchdb-xml-and-e4x there is a support for xml in couchdb via SpiderMonkey. In the couchdb-wiki is a support-page for the installation of SpiderMonkey: http://wiki.apache.org/couchdb/Installing_SpiderMonkey But i didnt found any information for the enabling the E4X support in couchdb.
It supports it out-of-the-box at the moment, try writing some _show functions and they should work nicely. See jchris's sofa couchapp for an example (he uses E4X to generate the Atom feed).
http://github.com/jchris/sofa/tree/master -- Jason Davies www.jasondavies.com
