[ANNOUNCEMENT] XML_Transformer-0.6 (stable) Released.
| From: | PEAR Announce | Date: | Tue, 17 Sep 2002 22:05:28 +0000 |
| Subject: | [ANNOUNCEMENT] XML_Transformer-0.6 (stable) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2329@lists.php.net to get a copy of this message | ||
The new PEAR package XML_Transformer-0.6 (stable) has been released at http://pear.php.net/.
Release notes
-------------
+ Added methods setDefaultCallback() and unsetDefaultCallback() to
set/unset default callbacks for elements that are not overloaded.
+ Added a base class for namespace-handling transformer classes.
+ Removed canonicalName() method in favour of more general
canonicalizeAttributes() method.
+ Added PHP namespace handler. Initially the following tags are
supported:
+ <php:expr/> evaluates a given PHP expression and stores its
return value into the output XML tree.
+ <php:getvariable name=""/> inserts the contents of a given
global variable into the output XML tree.
+ <php:setvariable name="">value</php:setvariable sets a given
global variable to a given value.
+ <php:getparameter name=""/> inserts the contents of a given
HTTP GET parameter into the output XML tree.
+ <php:postparameter name=""/> inserts the contents of a given
HTTP POST parameter into the output XML tree.
+ <php:sessionvariable name=""/> inserts the contents of a given
session variable into the output XML tree.
* Fixed a bug in overloadNamespace()'s error handling.
* Recursive operation can now be selectively turned off for
overloaded namespaces, too.
* Attributes are now canonicalized on-the-fly, rather than at
the time of their serialization which can be too late.
As a side-effect, the attributesToString() method can now be
called statically.
* Fixed recursive transformation of overloaded namespaces.
* Changed license from PHP License 2.02 to PHP License 3.00.
Package Info
-------------
With the XML/Transformer class one can easily bind PHP
functionality to XML tags, thus transforming the input XML tree
into an output XML tree without the need for XSLT. Single XML
elements can be overloaded with PHP functions, methods and static
method calls, XML namespaces can be registered to be handled by
PHP classes.
Related Links
-------------
Package home: http://pear.php.net/package-info.php?package=XML_Transformer
Changelog: http://pear.php.net/package-changelog.php?package=XML_Transformer
Download: http://pear.php.net/get/XML_Transformer-0.6.tgz
Authors
-------------
Sebastian Bergmann <sb@sebastian-bergmann.de> (lead)
Kristian Köhntopp <kk@netuse.de> (developer)