-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84889 c90b9560-bf6c-de11-be94-00142212c4b1
- Loading branch information
Daniel Allen
committed
Jun 7, 2002
1 parent
bc17ab0
commit e999901
Showing
5 changed files
with
73 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,47 +1,84 @@ | |||
<?xml version="1.0" encoding="ISO-8859-1" ?> | <?xml version="1.0" encoding="ISO-8859-1" ?> | ||
<!DOCTYPE package SYSTEM "../package.dtd"> | <!DOCTYPE package SYSTEM "../package.dtd"> | ||
<package version="1.0"> | <package version="1.0" type="source"> | ||
<name>XML_XPath</name> | <name>XML_XPath</name> | ||
<summary>Xpath/DOM XML manipulation, maneuvering and query interface.</summary> | <summary>The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and query interface.</summary> | ||
<description> | <description> | ||
Allows for easy manipulation, maneuvering and querying of a domxml tree using | The PEAR::XML_XPath class provided an XPath/DOM XML manipulation, maneuvering and | ||
both xpath queries and DOM walk functions. It uses an internal pointer for all | query interface. | ||
methods on which the action is performed. Results from an xpath query are returned | |||
as an XPath_Result object, which contains all the DOM functions from the main object. | |||
This class tries to hold as close as possible to the DOM Recommendation. | |||
|
|
||
The XML_XPath class was inpired by a class maintained by Nigel Swinson called phpxpath. | The class allows for easy manipulation, maneuvering and querying of a domxml tree using | ||
The phpxpath class does not rely on PHP xmldom functions and is therefore a sibling to | both xpath queries and DOM walk functions. It uses an internal pointer for all | ||
this class: http://sourceforge.net/projects/phpxpath | methods on which the action is performed. Results from an dom/xpath query are returned | ||
</description> | as an XPath_Result object, which contains an internal array of DOM nodes and which extends | ||
<maintainers> | the common DOM class and hence contains all the DOM functions from the main object to run | ||
<maintainer> | 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. | ||
<user>dallen</user> |
|
||
<name>Dan Allen</name> | The XML_XPath class was inspired by a class maintained by Nigel Swinson called phpxpath. | ||
<email>dallen@php.net</email> | The phpxpath class does not rely on PHP xmldom functions and is therefore a sibling to | ||
<role>lead</role> | this class: http://sourceforge.net/projects/phpxpath | ||
</maintainer> | </description> | ||
</maintainers> | <maintainers> | ||
<maintainer> | |||
<user>dallen</user> | |||
<name>Dan Allen</name> | |||
<email>dallen@php.net</email> | |||
<role>lead</role> | |||
</maintainer> | |||
</maintainers> | |||
<release> | |||
<license>PHP License</license> | |||
<date>2002-05-23</date> | |||
<state>beta</state> | |||
<version>1.1</version> | |||
<deps> | <deps> | ||
<dep type="php" rel="ge" version="4.2.1" /> | <dep type="php" rel="ge" version="4.2.1" /> | ||
<dep type="ext" rel="has">domxml</dep> | |||
</deps> | </deps> | ||
<release> | <notes> | ||
<license>PHP 2.01</license> | * relative XPath queries | ||
<state>beta</state> | * enhancements to result object | ||
<version>1.0</version> | * addition DOM functions (childNodes(), getElementsByTagName()) | ||
<date>2002-05-23</date> | </notes> | ||
<notes> | <filelist> | ||
This is the initial independent PEAR release. | |||
</notes> | |||
<filelist> | |||
<dir name="/" baseinstalldir="XML"> | <dir name="/" baseinstalldir="XML"> | ||
<file role="php">XPath.php</file> | <file role="php">XPath.php</file> | ||
<dir name="XPath"> | <dir name="XPath"> | ||
<file role="php">common.php</file> | <file role="php">common.php</file> | ||
<file role="php">result.php</file> | <file role="php">result.php</file> | ||
<file role="php">error.php</file> | <file role="php">error.php</file> | ||
</dir> | </dir> | ||
<dir name="docs" role="doc"> | |||
<file>XML_XPath_example.php</file> | |||
</dir> | |||
</dir> | </dir> | ||
</filelist> | </filelist> | ||
</release> | </release> | ||
<changelog> | |||
<release> | |||
<version>1.0</version> | |||
<date>2002-05-23</date> | |||
<state>beta</state> | |||
<notes> | |||
This is the initial independent PEAR release. | |||
</notes> | |||
</release> | |||
<release> | |||
<version>1.1</version> | |||
<date>2002-06-06</date> | |||
<state>beta</state> | |||
<notes> | |||
This version brings major enhancements to the API | |||
* childNode(), siblingNode() removed and features are relocated | |||
* added childNodes() which returns an XML_XPath_result object of all children | |||
* added getElementByTagName which returns an XML_XPath_result object of all matching tags | |||
* step functions in result object are now next(), end(), rewind() and nextByNode(Name|Type) | |||
* calling next() after rewind() in the result object counts the first object again, so a regular | |||
while loop can be used | |||
* relative XPath queries are now enabled (getNodePath() provides this functionality) | |||
* better error reports generated and will continue to improve with the domxml extension | |||
* setNodeIndex() in result object removed | |||
</notes> | |||
</release> | |||
</changelog> | |||
</package> | </package> |