Re: XML/XPath Position() Syntax
| From: | Gyozo Papp | Date: | Tue, 07 Aug 2001 22:39:51 +0000 |
| Subject: | Re: XML/XPath Position() Syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61716@lists.php.net to get a copy of this message | ||
//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 "//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
>