Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 38642 invoked from network); 3 Nov 2009 22:05:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Nov 2009 22:05:59 -0000 Received: (qmail 1934 invoked by uid 500); 3 Nov 2009 22:05:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 1867 invoked by uid 500); 3 Nov 2009 22:05:57 -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 1857 invoked by uid 99); 3 Nov 2009 22:05:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 22:05:57 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of visconte.milpix@gmail.com designates 209.85.220.220 as permitted sender) Received: from [209.85.220.220] (HELO mail-fx0-f220.google.com) (209.85.220.220) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2009 22:05:55 +0000 Received: by fxm20 with SMTP id 20so26240fxm.35 for ; Tue, 03 Nov 2009 14:05:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=tO/HwcKn1eX77Q40KHf4Q/vk3jkTnUpUMqvhAyJM6jo=; b=mXV99ScpfJjCUi/95lG0GmSj8DwE5ipkXwUZAQElfCc9QUuAiU9iluytNesKfdQIBX sCRF+rNmtWESDNOX2RIKe7SfuhMqMgTopq09wVTJTYPSQGFeIipeJEaYjCDPEYP3yAye ZZspwu5xXVEVExtuFymzpyE2T7ZvNPBgwCgwI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:date:x-google-sender-auth:message-id :subject:from:to:content-type; b=BiiTlg5AC7dz3WFky7nomipiWYkarx01gV2Mh9j4OO16b6gU9bg/lTbTtU5177jzus ASC+M7Ebh/YORxSVgkPblw1sGvFpc0ySFW8coJrdOdawBGIp1UZ2d0nxtICnQFkSjVOs jeCkIV9Tfjf2hJjZcMPXuz0uKal5zla/z+zc4= MIME-Version: 1.0 Sender: visconte.milpix@gmail.com Reply-To: francois.visconte@milpix.com Received: by 10.223.161.205 with SMTP id s13mr92277fax.70.1257285934299; Tue, 03 Nov 2009 14:05:34 -0800 (PST) Date: Tue, 3 Nov 2009 23:05:34 +0100 X-Google-Sender-Auth: 6334e0c401acf712 Message-ID: <155051bb0911031405h5ddd0e82l1a62900d41df596a@mail.gmail.com> Subject: Using spidermonkey xpath feature to extract properties in map() function From: =?ISO-8859-1?Q?Fran=E7ois_Visconte?= To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, Would it be possible to use the spidermonkey xpath feature to extract information from xml blobs stored in a document field. I have to store xml blobs and to be able to select a property of this blob accessible throught an xpath request. I think there is two way to do that: - extract the desired property from the blob before storing the document - extract the property in a map(). What would be the impact on performances ? What do you think ? Bests, F.