Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 22613 invoked from network); 4 Sep 2009 12:13:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Sep 2009 12:13:24 -0000 Received: (qmail 54367 invoked by uid 500); 4 Sep 2009 12:13:23 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 54300 invoked by uid 500); 4 Sep 2009 12:13:23 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 54290 invoked by uid 99); 4 Sep 2009 12:13:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 12:13:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 72.14.220.153 as permitted sender) Received: from [72.14.220.153] (HELO fg-out-1718.google.com) (72.14.220.153) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 12:13:14 +0000 Received: by fg-out-1718.google.com with SMTP id d23so108074fga.5 for ; Fri, 04 Sep 2009 05:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=DFka19ARthFYThxLaLoiL5PUechJwQWuY1arqD+LKDo=; b=nwtt9aazSiNpcggWkzFML/ipQimTfg/aw0nHRFqg5gPk0SCODd64qoS4hZu0shHeNu tZbzaPPHyZFRdxbv6zjhb2zkUYZZhA5CU9qPUfI2OfTth3g7/a7db9D/owwwLN5q86Vk 0E3SlAI0fJPWGLzp99TzRqm+m2GR+L61+p5+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=owJSzxLcr2YLsNHexwiFRf9RpLWHwyfHrWQ4UkdW3XcHQ2unQHZQuf8GQ+MGblvMK7 PrFHnesp6AnGuRRG2/WumFt1VoYMpuk0R2Io8EnuCPGDL9mTwuQGJfY6Cf4Yt0AKxsKi Aytz1/24XnPpB+lH5RNwIgHYCVkSH/McdFq4k= MIME-Version: 1.0 Received: by 10.86.242.15 with SMTP id p15mr4972226fgh.14.1252066373363; Fri, 04 Sep 2009 05:12:53 -0700 (PDT) In-Reply-To: <4AA0631C.5070702@borwankar.com> References: <4AA05FD3.6000905@borwankar.com> <4AA0631C.5070702@borwankar.com> Date: Fri, 4 Sep 2009 14:12:53 +0200 Message-ID: Subject: Re: e4x, xml and json From: Benoit Chesneau To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Sep 4, 2009 at 2:45 AM, Nitin Borwankar wrote: > Paul Davis wrote: >>> >>> If an xml document is imported into couchdb via built in e4x support in >>> spidermonkey then >>> >> >> I don't understand how you would import a document via e4x when that >> doesn't exist on the front side of CouchDB. >> >> Paul >> > > Ahh! stupid question. =A0Misunderstanding of where e4x fits. > As I see it now - blindingly obvious (thanks Paul) - no XML api on the wa= y > in. > > OK, so I will need to convert XML to JSON before saving to Couch and then > query via views to emit JSON > ( I don't want to emit XML anyway ). > > Thanks much, > And allow me to retreat back to the middle of the forest, > > Nitin > You could eventually fit a doc with xml via _update I guess. - beno=EEt