[PHP] Re: XPath avg(), min(), max() functions not found

2006-06-09 Thread Alex
Rob Richards wrote: min(), max() and avg() don't exist in XPath 1.0 which is the version implemented in libxml2. You need to calculate these yourself. For example: Thanks for your help. Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XPath avg(), min(), max() functions not found

2006-06-08 Thread Rob Richards
Hi Alex, Alex wrote: Hi all. I'm trying to use XPath avg(), min() and max() functions without success. Others functions like count() or sum() works correctly. Here is the code I'm using (PHP 5.1): ?php $xml_str = ' stats cards card name=My card type name=visits25/type type