PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » XML » XML_XPath

The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and query interface.

This package is unmaintained.

Download latest release 1.2.4 (archived versions might be outdated)

License: PHP License

Description

The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and
query interface.
The class allows for easy manipulation, maneuvering and querying of a domxml tree using
both xpath queries and DOM walk functions. It uses an internal pointer for all
methods on which the action is performed. Results from an dom/xpath query are returned
as an XPath_Result object, which contains an internal array of DOM nodes and which extends
the common DOM class and hence contains all the DOM functions from the main object to run
on each of the elements in the internal array. This class tries to hold as close as possible to the DOM Recommendation. You MUST have the domxml extension to use this class.
The XML_XPath class was inspired by a class maintained by Nigel Swinson called phpxpath.
The phpxpath class does not rely on PHP xmldom functions and is therefore a sibling to
this class: http://sourceforge.net/projects/phpxpath

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#221ClosedBug2003-11-10error when loading file
#831ClosedBug2004-02-21Assignment to $this
#906ClosedBug2004-02-26PEAR QA: improvement for get_class()-usage
#2150BogusBug2004-08-17toString(/foo/bar/*) only returns the first child of bar
#2594SuspendedBug2004-10-22Change in DomNode->append_child leads to Error