Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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
Commits on Mar 12, 2002
  1. - method name() is different from node_name() for attributes (hence d…

    Daniel Allen authored
    …idn't give proper result before)
    
    - getOne returns exactly what an xsl:value-of select would return...before it returned the size
      of the nodeset, which was inconvient when wanted to do /doc/child/@attribute to retrieve data
    - fixed some missing documentation for one method
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@73027 c90b9560-bf6c-de11-be94-00142212c4b1
  2. - added a constant for XML_DUPLICATE_ROOT

    Daniel Allen authored
    - added free() function to garbage collect
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@72853 c90b9560-bf6c-de11-be94-00142212c4b1
  3. - prevent the use of appendChild() on the document node if a root nod…

    Daniel Allen authored
    …e already exists.
    
      This would lead to an invalid document being created.
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@72847 c90b9560-bf6c-de11-be94-00142212c4b1
  4. @ added format to toString() function using xmllint commandline (this…

    Daniel Allen authored
    … will become
    
      more formal a little later)
    - new XPath() returns an error if load fails in contructor
    - typos
    - xpath_new_context can be called as a method of $this->xml
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@72823 c90b9560-bf6c-de11-be94-00142212c4b1
Commits on Mar 11, 2002
  1. @ added the use of the domxml_node_unlink function since the CVS vers…

    Daniel Allen authored
    …ion (also PHP_4_2_0 branch)
    
      seems to work fine (without segfaulting or corrupting the dom tree).  Previously this was a HACK
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@72726 c90b9560-bf6c-de11-be94-00142212c4b1
  2. The php function is_a is either not working correctly or I don't know…

    Daniel Allen authored
    … how to use it properly.
    
    Either way, I decided it best that I rename my custom is_a() function to an alternate name just so
    there is no conflict in implementation.  I renamed the function to is_class_type, which emulates
    the functionality described in the function is_a() in the php manual.
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@72725 c90b9560-bf6c-de11-be94-00142212c4b1
  3. - Set state to beta while working on testing (and waiting for php 4.2.0)

    Daniel Allen authored
    - added deps for php 4.2.0
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@72698 c90b9560-bf6c-de11-be94-00142212c4b1
  4. Initial release. Mostly stable but not yet extensively tested. Requir…

    Daniel Allen authored
    …es the
    
    newest CVS version of domxml since many domxml functions have been implemented
    in the last few days.  This package will be most significant for php-4.2.0.
    
    
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@72690 c90b9560-bf6c-de11-be94-00142212c4b1
  5. Standard project directories initialized by cvs2svn.

    Gwynne Raskind authored
    git-svn-id: http://svn.php.net/repository/pear/packages/XML_XPath/trunk@72689 c90b9560-bf6c-de11-be94-00142212c4b1
Something went wrong with that request. Please try again.