a:14:{s:8:"provides";a:0:{}s:8:"filelist";a:11:{s:28:"Transformer/Driver/Cache.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:50:"C:\xampp\php\pear\XML\Transformer\Driver\Cache.php";}s:35:"Transformer/Driver/OutputBuffer.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:57:"C:\xampp\php\pear\XML\Transformer\Driver\OutputBuffer.php";}s:32:"Transformer/Namespace/Anchor.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:54:"C:\xampp\php\pear\XML\Transformer\Namespace\Anchor.php";}s:33:"Transformer/Namespace/DocBook.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:55:"C:\xampp\php\pear\XML\Transformer\Namespace\DocBook.php";}s:31:"Transformer/Namespace/Image.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:53:"C:\xampp\php\pear\XML\Transformer\Namespace\Image.php";}s:29:"Transformer/Namespace/PHP.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:51:"C:\xampp\php\pear\XML\Transformer\Namespace\PHP.php";}s:32:"Transformer/Namespace/Widget.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:54:"C:\xampp\php\pear\XML\Transformer\Namespace\Widget.php";}s:32:"Transformer/CallbackRegistry.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:54:"C:\xampp\php\pear\XML\Transformer\CallbackRegistry.php";}s:25:"Transformer/Namespace.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:47:"C:\xampp\php\pear\XML\Transformer\Namespace.php";}s:15:"Transformer.php";a:3:{s:4:"role";s:3:"php";s:14:"baseinstalldir";s:3:"XML";s:12:"installed_as";s:37:"C:\xampp\php\pear\XML\Transformer.php";}s:7:"dirtree";a:4:{s:40:"C:\xampp\php\pear\XML\Transformer\Driver";b:1;s:33:"C:\xampp\php\pear\XML\Transformer";b:1;s:21:"C:\xampp\php\pear\XML";b:1;s:43:"C:\xampp\php\pear\XML\Transformer\Namespace";b:1;}}s:7:"package";s:15:"XML_Transformer";s:7:"summary";s:26:"XML Transformations in PHP";s:11:"description";s:169:"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.";s:11:"maintainers";a:2:{i:0;a:4:{s:6:"handle";s:9:"sebastian";s:4:"name";s:18:"Sebastian Bergmann";s:5:"email";s:24:"sb@sebastian-bergmann.de";s:4:"role";s:4:"lead";}i:1;a:4:{s:6:"handle";s:2:"kk";s:4:"name";s:17:"Kristian K÷hntopp";s:5:"email";s:17:"kris@koehntopp.de";s:4:"role";s:9:"developer";}}s:7:"version";s:5:"1.0.1";s:12:"release_date";s:10:"2004-03-16";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:212:"* The collapsing of empty tags (<foo></foo>) into their
short-tag (<foo />) has been made optional and is
disabled by default to restore backwards compatibility
with XML_Transformer versions prior to 0.9.0.";s:12:"release_deps";a:3:{i:1;a:3:{s:4:"type";s:3:"php";s:3:"rel";s:2:"ge";s:7:"version";s:5:"4.2.0";}i:2;a:3:{s:4:"type";s:3:"ext";s:3:"rel";s:3:"has";s:4:"name";s:3:"xml";}i:3;a:4:{s:4:"type";s:3:"pkg";s:3:"rel";s:2:"ge";s:7:"version";s:5:"0.5.1";s:4:"name";s:8:"XML_Util";}}s:9:"changelog";a:13:{i:0;a:4:{s:7:"version";s:5:"1.0.0";s:12:"release_date";s:10:"2004-03-15";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:62:"* No functional changes since XML_Transformer-0.9.1.
";}i:1;a:4:{s:7:"version";s:5:"0.9.1";s:12:"release_date";s:10:"2004-03-02";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:50:"* Fixed E_NOTICE in XML/Transformer.php.
";}i:2;a:4:{s:7:"version";s:5:"0.9.0";s:12:"release_date";s:10:"2004-02-06";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:665:"* XML fragments are now handled more gracefully.
It is now possible, for instance, to return
"<t1/><t2/>" from a closing tag's callback.
by Azundris (http://www.azundris.com)
* Entities are no longer unescaped during recursion.
by Azundris (http://www.azundris.com)
* Empty elements like "<br></br>" are now transformed
";}i:3;a:4:{s:7:"version";s:5:"0.8.2";s:12:"release_date";s:10:"2003-09-11";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:72:"* Performance improvements due to changes in the
The Anchor namespace handler implements a database of
indirect links. These links can be maintained centrally
in a single location, and can be used using
<a:iref iref="name">...</a>
<a:random/> selects a single random link from the database.
+ Added Image namespace handler.
+ <img:img/> is a replacement for XHTML's <img/> and
automatically determines the size of the image.
For this, the image must be in a format that is
understood by getimagesize().
+ <img:gtext /> is a container that renders its contents
as a PNG graphics using ImageTTFText().
For this to work, a cache directory below DocumentRoot
that is writeable by the Webserver owner is necessary.
The default is /cache/gtext.
+ <img:gtextdefault /> understands the same attributes as
<img:gtext /> and supplies these to all subsequent calls
of <img:gtext />.
+ Namespace handlers can now use getLock() to disable other
namespace handlers for the time of their transformation.
releaseLock() is used to enable all namespace handlers
again.
+ Added a caching version of the XML_Transformer that uses
the Cache_Lite PEAR package to cache the result of XML
transformations.
+ Added automatic loading of namespace handlers that are
stored in the XML/Transformer/Namespace directory.
+ Added new tags to the PHP Namespace Handler:
+ <php:namespace name="a">
<php:define name="b">
<p>The attribute x is $x and the content is $content.</p>
</php:define>
</php:namespace>
This will define a new namespace a with a single tag b in it
(You may put multiple defines into a namespace). If you use
<a:b x="text">sometext</a:b>, the variable $x will be replaced
with the text, and the variable $content will be replaced with
the content.
+ <php:cookievariable name=""/> inserts the contents of a given
HTTP Cookie into the output XML tree.
+ <php:servervariable name=""/> inserts the contents of a
given server variable into the output XML tree.
+ <php:logic/> executes a given block of PHP code and stores
its output into the output XML tree.
* Refactored the XML_Transformer class into
* XML_Transformer.
* XML_Transformer_CallbackRegistry.
This class faciliates the registration of new callbacks
on-the-fly inside the transformation's recursion.
* XML_Transformer_OutputBuffer.
This class decouples the XML transformation from the output
buffering.
* XML_Transformer_Util.
Static utility methods.
* Deprecated overloading of single XML elements.
By overloading a special namespace, &MAIN, the old behaviour can
be achieved.
* setDefaultCallback() and unsetDefaultCallback() are deprecated.
By overloading the newly introduced &MAIN namespace with a class
that provides default element handlers the old behaviour can
be achieved.
";}i:7;a:4:{s:7:"version";s:3:"0.6";s:12:"release_date";s:10:"2002-09-18";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:1548:"+ 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.
";}i:8;a:4:{s:7:"version";s:3:"0.5";s:12:"release_date";s:10:"2002-09-08";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:185:"* Resolved infinite recursion problem that arose when handlers
do not remove the tags of their assigned element from the input
XML document, but only work on it's sub-tree.
";}i:9;a:4:{s:7:"version";s:3:"0.4";s:12:"release_date";s:10:"2002-09-04";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:257:"+ Added a filtering mechanism to the debugger that limits
the generated debugging information to a given set of
elements.
* Debugging information is now sent using error_log()
instead of syslog().
* Fixed a bug in the case-folding handling.
";}i:10;a:4:{s:7:"version";s:3:"0.3";s:12:"release_date";s:10:"2002-05-16";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:366:"+ Added setDebug() and stackdump() to allow for easier debugging.
+ Added setRecursiveOperation() to enable/disable the recursive
operation of the XML Transformer.
* Changed the constructor to be more intuitive and user-friendly.
* Changed setCaseFolding() to accept a second parameter to set
the case to which XML attributes and elements are folded.
";}i:11;a:3:{s:7:"version";s:3:"0.2";s:12:"release_date";s:10:"2002-04-07";s:13:"release_notes";s:58:"* Renamed to XML_Transformer, per Stig's request.