From users-return-11141-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Apr 09 06:49:37 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 83688 invoked from network); 9 Apr 2009 06:49:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2009 06:49:36 -0000 Received: (qmail 69248 invoked by uid 500); 9 Apr 2009 06:49:35 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 69203 invoked by uid 500); 9 Apr 2009 06:49:35 -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 69192 invoked by uid 99); 9 Apr 2009 06:49:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2009 06:49:35 +0000 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 (athena.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; Thu, 09 Apr 2009 06:49:27 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lro4Q-0002Iy-Eb for users@jackrabbit.apache.org; Wed, 08 Apr 2009 23:49:06 -0700 Message-ID: <22965362.post@talk.nabble.com> Date: Wed, 8 Apr 2009 23:49:06 -0700 (PDT) From: =?UTF-8?Q?Jacob_Berg=C3=B6=C3=B6?= To: users@jackrabbit.apache.org Subject: Re: XPath query problem In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jacob.bergoo@gmail.com References: <22924528.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks, that works like a charm... regards, Jacob Marcel Reutegger wrote: > > Hi, > > you can place a constraint on the mime type property: > > TEMPLATES//element(*, nt:file)[jcr:content/@jcr:mimeType = 'text/html'] > > regards > marcel > > -- View this message in context: http://www.nabble.com/XPath-query-problem-tp22924528p22965362.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.