Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 18, 2003
  1. use strtolower around get_class to force compatibility

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@138158 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Aug 12, 2003
  1. fixing #24559 - dont complain im waiting for feedback since 31 jul.

    CHAILLAN Nicolas authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@137549 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jul 12, 2003
  1. @mj

    * Updating DTD paths

    mj authored
    # find . -name package.xml | xargs perl -pi -e 's/..\/package.dtd/http:\/\/pear.php.net\/dtd\/package-1.0/'
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@134868 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jan 16, 2003
  1. * updated todo list

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@112144 c90b9560-bf6c-de11-be94-00142212c4b1
  2. * added check for url as filename

    Daniel Allen authored
    * added check for no results when sorting
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@112142 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jan 4, 2003
  1. @mj

    * Update copyright year to 2003.

    mj authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@110436 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Sep 15, 2002
  1. - Reorder changelog

    Derick Rethans authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@95790 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Aug 16, 2002
  1. - typo

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@92239 c90b9560-bf6c-de11-be94-00142212c4b1
  2. @ added cloneNode

    Daniel Allen authored
    - fixed functions cloneNode, removeChild and replaceChild to return a result object of a single node instead
      of the raw domxml node so that they can be used with the XML_XPath functions
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@92238 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Aug 13, 2002
  1. @ added documentElement

    Daniel Allen authored
    - avoided using the buggy set_content for the Data functions, using replace_child and create_text_node instead
    - parent::node() now for relative xpath queries
    @ ability to make xpath sort permanent in the tree (limited to siblings queries only)
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@91820 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jul 12, 2002
  1. @ added the ability for the relative xpath query to take the '..' syn…

    Daniel Allen authored
    …tax for parent as
    
    the first argument...so array('..', 'foo') would get the child 'foo' from the parent of the pointer
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@88529 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 12, 2002
  1. - fixes for evaluate()

    Daniel Allen authored
    - move evaluate(), getOne() into common.php
    @ added registerNamespace to temporarily fix the lack of registering namespaces in domxml
    - bug fixes and code cleanup
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@85522 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 7, 2002
  1. release 1.2 notes

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@85013 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Major changes:

    Daniel Allen authored
    getAttribute('foo', true) now puts you on the attribute, not the element node
    cleaned up the XML_XPath_result initialization (no longer create an StdClass when calling class)
    fixed sorting for childNodes() and getElementsByTagName() generated result objects
    cleaned up sorting in result object, and added comments (so I don't forget again how I did it)
    major speed enhancements (calling user defined functions methods is slow, so tried to trim that down)
    don't create a result object in the _quick_evaluate function since we don't need it anyway
    enabled relative xpath queries differently, in_xpathQuery = array(query, node) for relative...
    added relative xpath queries for the _quick_evaluate feature
    anything else I just can't remember I will mention in my next commit
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@85012 c90b9560-bf6c-de11-be94-00142212c4b1
  3. official example, not much yet, but the idea is there

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84890 c90b9560-bf6c-de11-be94-00142212c4b1
  4. getting ready for release

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84889 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 6, 2002
  1. resolve this damn include file problem

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84888 c90b9560-bf6c-de11-be94-00142212c4b1
  2. updates

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84824 c90b9560-bf6c-de11-be94-00142212c4b1
  3. forgot to add error.php

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84823 c90b9560-bf6c-de11-be94-00142212c4b1
  4. @ added getElementsByTagName to return an XML_XPath_result object of …

    Daniel Allen authored
    …all matching tagnames
    
    - deleted childNode() and siblingNode() which were hacks for stepping through children based
    on node name (see result.php for this functionality now)
    @ added getNodePath() for use with relative xpath queries (this is until we can get this
    function in the php extension
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84822 c90b9560-bf6c-de11-be94-00142212c4b1
  5. - reworked the stepping concept...now have

    Daniel Allen authored
    next()
    end()
    rewind()
    nextByNodeName()
    nextByNodeType()
    when next() is used after a rewind() or the first time (because the constructor
    calls rewind()), it counts the first node when it is first run as the first "next"...
    it is like saying that we aren't on the array yet and next moves us onto the array...
    the nice part however is that physically you are already on the first node, so you
    can just start calling dom function on your result without having to "advance" your
    pointer to the first node
    - nextByNode* replace the childNode() and siblingNode() concepts from common
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84821 c90b9560-bf6c-de11-be94-00142212c4b1
  6. @ added the ability to do relative xpath queries by prepending the cu…

    Daniel Allen authored
    …rrent location path
    
    to the query when the third parameter is true
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84812 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Jun 5, 2002
  1. keepin' you updated!

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84682 c90b9560-bf6c-de11-be94-00142212c4b1
  2. @ added childNodes() which takes the current pointer and returns all …

    Daniel Allen authored
    …of the non-blank (if set)
    
    children as an xml_xpath_result object so that the result object functions can be used to
    step through the results...one disadvantage right now is that since it is not an actually xpath
    query, I can't resort the results, so that result function will be broken when the result object
    is generated in this manner...hang in there, I am working on this...
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84681 c90b9560-bf6c-de11-be94-00142212c4b1
  3. temporary addition of some libxml2 error capturing...the domxml modul…

    Daniel Allen authored
    …e is currently
    
    undergoing development to capture these error logs into an array, but for now I use
    output buffering and then run the domxml_open_* without an @ so that errors will go
    to stdout, which are then captured and passed to the PEAR::raiseError method
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@84680 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on May 24, 2002
  1. - Changed function names and prefixes from XPath to XML_XPath

    Daniel Allen authored
    - updated new function names for domxml extension
    - lots of bugfixes
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@83347 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Apr 1, 2002
  1. Credit the phpxpath team

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@76135 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Mar 16, 2002
  1. added $Id$ line to class files

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@73543 c90b9560-bf6c-de11-be94-00142212c4b1
  2. - bug in use of static in getChildByTagName...note with this function…

    Daniel Allen authored
    … that it is going to
    
    move you to the child, so you can't run it twice without first using $xml->parentNode() to get
    back to the parent...
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@73515 c90b9560-bf6c-de11-be94-00142212c4b1
  3. @ added getChildByTagName(), which is not a DOM function, but very co…

    Daniel Allen authored
    …nvenient. It gets the direct
    
    descendant of the pointer with the tagname given, and if index is provided, it finds the nth
    occurance of this child.  This function utilizes caching to speed up same parent consecutive
    queries
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@73514 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Mar 15, 2002
  1. - bug in nextSibling that was causing the pointer to go beyond the la…

    Daniel Allen authored
    …st sibling and caused
    
      a call to a non-object
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@73414 c90b9560-bf6c-de11-be94-00142212c4b1
  2. Just so you know what is going on in my mind.

    Daniel Allen authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@73338 c90b9560-bf6c-de11-be94-00142212c4b1
  3. @ added intial support for XPath_Result::sort(). Works by taking a re…

    Daniel Allen authored
    …lative xpath query to
    
      the nodes in the nodeset and sorts using php array sort functions.  I am hoping for sort
      support in XPathObject in the future, but this isn't bad for now.
    @ new constants for handling sorting flags
    - bugfixes in setNodeIndex()
    - renamed resetResult() to just reset()
    - free() just kills $this variable
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@73337 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Mar 14, 2002
  1. - node_name() fixed for XML_DOCUMENT_NODE and XML_ATTRIBUTE_NODE in d…

    Daniel Allen authored
    …omxml php module...so updated
    
    - moved XPath_Error into file errors.php in the XPath directory
    - updated package name to use _ and not /
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@73243 c90b9560-bf6c-de11-be94-00142212c4b1
Something went wrong with that request. Please try again.