- Fixed problem for some PHP versions in working with XPATH.