Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 12151 invoked from network); 25 Jul 2000 09:39:12 -0000 Received: from kahless.dff.st (HELO mail.dff.local) (62.153.127.50) by locus.apache.org with SMTP; 25 Jul 2000 09:39:12 -0000 Received: from wwwrun by mail.dff.local with local (Exim 3.03 #1) id 13H1Bl-0001jp-00 for cocoon-users@xml.apache.org; Tue, 25 Jul 2000 11:39:49 +0200 To: Subject: position() Message-ID: <964517989.397d6065c5cf9@mail.dff.local> Date: Tue, 25 Jul 2000 11:39:49 +0200 From: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.0-pre11 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N bla I need the position of the "image" tag within "root". Gives me "bla 4 6" Question #1: Why is it 4 and 6 and not 3 and 4? Or does position() include the closing tags? Question #2: I need "bla 1 2" because I need the position relative to the first image tag! What's the syntax for that? Thanx -- Torsten