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" <[EMAIL PROTECTED]>
To: "Girish Nath" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to