Top Level :: XML

Package Information: XML_Tree

Show All Changelogs
» Version » Information
2.0.0RC2Download

Release date: 2004-05-29 10:42 UTC
Release state: beta

Changelog:

Fixed XML_Tree::isValidName() when adding a CDATA childNode.
Dependencies like XML_DTD should now work again.

Dependencies:
  • PEAR Package: XML_Parser 1.1.0 or newer
  • PHP Version: PHP 4.0.4 or newer
  • PHP Extension: pcre
  • PHP Extension: xml
2.0RC1Download

Release date: 2004-05-25 16:22 UTC
Release state: beta

Changelog:

*** Minor BC Breakages Have Occured ***

* Fixes all known bugs:
#89, #766, #905, #1125, #1253, #1414, #492, #555, #1238

* Returns PEAR_Error objects if an invalid element/attribute name is given (BC Break)

* $object->error contains PEAR_Error if an error occurs, should be checked when creating the root element

* Added the ability to encapsulate all CDATA in <![CDATA[]]> Sections (see XML_Tree::useCdataSections()) or a specific
node's CDATA using the new argument to XML_Tree_Node::XML_Tree_Node() and XML_Tree_Node::addChild())

Dependencies:
  • PEAR Package: XML_Parser 1.1.0 or newer
  • PHP Version: PHP 4.0.4 or newer
  • PHP Extension: pcre
  • PHP Extension: xml
2.0b2Download

Release date: 2003-09-18 22:20 UTC
Release state: beta

Changelog:

- Repaired 2 old method calls for add_root() and set_contents()
- Added getElementsByTagName() (by Pierre)
- Added a README.txt

Dependencies:
2.0b1Download

Release date: 2003-09-11 23:14 UTC
Release state: beta

Changelog:

Contributed by Michele Manzato <Michele.Manzato@verona.miz.it>:

- Fixed insertChild() and removeChild()
- Added getNodeAt() (gets a node by its path)
- Added decodeXmlEntities()
- Improved PHPDoc

Others:

- Added new "lineno" to the XML_Tree_Node object, containing the
line number of the input where a node is declared. (cox)
- Removed deprecated methods in the form xxx_yyyy() like
add_child(), get_element(), etc. Only the PEAR CS compilant
ones should be used now addChild(), getElement(), etc. (cox)

Dependencies:
1.1Download

Release date: 2002-05-17 20:55 UTC
Release state: stable

Changelog:

- Added support for mixed element content (cox)
- Added identation for $node->get() (cox)
- Adapted API to PEAR coding standars (mj)
- Added getTreeFromString() (cox)
- Root node now stores attributes (mj, cox)
- Improved clone(), added insert_child() and remove_child() (bernd)
(Backwards compatibility preserved)

1.0Download

Release date: 2002-04-17 18:25 UTC
Release state: stable

Changelog:

This is the initial independent PEAR release.