Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B960D699 for ; Wed, 29 Aug 2012 16:18:21 +0000 (UTC) Received: (qmail 56699 invoked by uid 500); 29 Aug 2012 16:18:20 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 56665 invoked by uid 500); 29 Aug 2012 16:18:20 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 56657 invoked by uid 99); 29 Aug 2012 16:18:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 16:18:20 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.212.179 as permitted sender) Received: from [209.85.212.179] (HELO mail-wi0-f179.google.com) (209.85.212.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2012 16:18:16 +0000 Received: by wibhq4 with SMTP id hq4so696884wib.2 for ; Wed, 29 Aug 2012 09:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=VvGLjLNcON3Ip1Zy6VKrBVWY0KqL2wImg9ivjzAZcfQ=; b=j2/rIvbmmiBMtwQRUoOVmG67bCF7YbCqI/AUuh1QPO3wxM3im0/I1g++8rG7It51CN We3DFuEMVeVeFXgQR1BtP7lvHZ+9KF5QLnMC6qtzOywqKZeYUgqSJlsBpOZ25EBAP2o+ jFRoXjuu1WlLQnLYFqiKU9uEnHvui+hjBRvNqCxYXp6ycYL6P+G/IPUQSE9GRJg+LpVt hQ2CQRa55LNY9BSBLf2/qKsGaKDNJRZEUIvX7Y2wAN+fuXowISFK4ni8cCnEIAIAf7Ka o5A8ulMUP018X1y24/eq4eYostTV/d0GeAyDrz9ZLkR0X6V3rU/F8V3mvNplf9xDAIus mX9Q== Received: by 10.180.86.3 with SMTP id l3mr41396917wiz.16.1346257075270; Wed, 29 Aug 2012 09:17:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.18.39 with HTTP; Wed, 29 Aug 2012 09:17:34 -0700 (PDT) In-Reply-To: <1346242231383-5718251.post@n5.nabble.com> References: <1346155249843-5718190.post@n5.nabble.com> <1346175464359-5718212.post@n5.nabble.com> <1346242231383-5718251.post@n5.nabble.com> From: Claus Ibsen Date: Wed, 29 Aug 2012 18:17:34 +0200 Message-ID: Subject: Re: xpath for header To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Aug 29, 2012 at 2:10 PM, Alexey wrote: > Sorry, I moved the discussion to another topic. > You don't quite understand me. My xpath expression is correct. I tested this > xpath expr. with my xml using online xpath selector, it's work normal. The > problem is that xpath must select from my header, but not in the body. > > For example that expression work incorrect: > in:header('history')/history/p[@id = 'RESTSYBRIGE' and @state != > 'NN'] > > message not move to queue RESTRUCT.DECLINE > > How to make so that the XPath searching in the header? > xpath works on message body only. > > > -- > View this message in context: http://camel.465427.n5.nabble.com/xpath-for-header-tp5718190p5718251.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen