An Alternative PHP/XPath Implementation: PHP.XPath

In the words of its developers, PHP.XPath is “. . . a PHP class for searching an XML document using XPath, and making modifications using a DOM style API . . . [it] does not require the DOM XML PHP library”[1]. The class, which is maintained as an open source project on the SourceForge network ( by Nigel Swinson, Sam Blum, and Daniel Allen, is released under the Mozilla Public License, and is freely downloadable from

[1] “Project: PHP.XPath Summary.” Available from the Internet:

As the previous description suggests, there isn’t anything very complicated about ...

Get XML and PHP now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.