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.ph
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):
25
7
50
3
';
$xml_doc = new DOMDocument();
$
2 matches
Mail list logo