Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 4596 invoked from network); 15 May 2007 13:14:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2007 13:14:18 -0000 Received: (qmail 35328 invoked by uid 500); 15 May 2007 13:14:23 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 35300 invoked by uid 500); 15 May 2007 13:14:23 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 35270 invoked by uid 99); 15 May 2007 13:14:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 06:14:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 06:14:11 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Hnwqd-0001jf-6s for users@jackrabbit.apache.org; Tue, 15 May 2007 06:13:51 -0700 Message-ID: <10622484.post@talk.nabble.com> Date: Tue, 15 May 2007 06:13:51 -0700 (PDT) From: hsp_ To: users@jackrabbit.apache.org Subject: XPath search with date function embbeded...... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: piccinatto@ibest.com.br X-Virus-Checked: Checked by ClamAV on apache.org Hi; I need to do a search that compare the value in a date propertie adding a constant to this propertie, something like this: //element(*,nt:base)[ (@prop:date + xs:dateTime('"+dateContant+"') ) < xs:dateTime('"+today+"')]"; My dificult is on: (@prop:date + xs:dateTime('"+dateContant+"') ) because the comparison ' < xs:dateTime('"+today+"') ' is ok for only a propertie. Would my query be possible? TKS Helio. -- View this message in context: http://www.nabble.com/XPath-search-with-date-function-embbeded......-tf3758378.html#a10622484 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.