Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 99136 invoked from network); 26 Jul 2007 12:48:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2007 12:48:15 -0000 Received: (qmail 7473 invoked by uid 500); 26 Jul 2007 12:48:15 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 7238 invoked by uid 500); 26 Jul 2007 12:48:15 -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 7229 invoked by uid 99); 26 Jul 2007 12:48:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 05:48:15 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of maka@onlaw.at designates 213.229.10.10 as permitted sender) Received: from [213.229.10.10] (HELO hermes.mmm.at) (213.229.10.10) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 05:48:13 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7CF83.1F6DA011" Subject: neighboring node Date: Thu, 26 Jul 2007 14:47:27 +0200 Message-ID: <8C8C402C8AB1A4498CD51595AF5E5A021AC2F1@hermes.mmm.at> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: neighboring node Thread-Index: AcfPgx2J3CupcNADRASiBRfZ9vB2+A== From: To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C7CF83.1F6DA011 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hello List, =20 what do you think is the best way to get the neighbor (=3Dnext/previous sibling) of a Node? =20 The XPath "preceding-sibling" axis does not seem to work, and I couldn't find a way to do it without iterating over all child nodes of the parent. =20 Any hints, ideas and links are very welcome. =20 Regards,=20 Marcus. ------_=_NextPart_001_01C7CF83.1F6DA011--