couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: How Enabling E4X Support?
Date Wed, 10 Jun 2009 15:57:22 GMT
On Wed, Jun 10, 2009 at 8:36 AM, Jason Davies<jason@jasondavies.com> wrote:
> 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).
>

There is also example e4x usage in a view function in the test suite.

> http://github.com/jchris/sofa/tree/master
>
> --
> Jason Davies
>
> www.jasondavies.com
>
>



-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message