Re: XML/XPath Position() Syntax

From: Date: Wed, 08 Aug 2001 05:58:21 +0000
Subject: Re: XML/XPath Position() Syntax
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-61754@lists.php.net to get a copy of this message
Hi Thanks, the "and" didn't work, however a "|" did the business :) product[position() > 25 | position() < 50 ] Maybe there;s smth up with the class i'm using (www.phpxml.org) Gish ----- Original Message ----- From: "Gyozo Papp" <pgerzson@freestart.hu> To: "Girish Nath" <girishn@btinternet.com>; <php-general@lists.php.net> Sent: Tuesday, August 07, 2001 11:39 PM Subject: Re: [PHP] XML/XPath Position() Syntax file://product[position() > 25 and position() < 50 ] ----- Original Message ----- From: "Girish Nath" <girishn@btinternet.com> To: <php-general@lists.php.net> Sent: 2001. augusztus 8. 00:15 Subject: [PHP] XML/XPath Position() Syntax > Hi > > I'm trying to select XML nodes 25 to 50 using the position() function in the > XPath class. I can select greater or less than but can't figure out a > "between". Anyone have the correct syntax for this ? > > eg "file://product[position() >25]" > > > Thanks > > > Gish > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#61754) next »