• + 0 comments

    The problem description should warn that only XPath 1.0 functions can be used. XPath 2.0 contains "avg" in the specification. It seems that Ruby does not implement it.