» Version | » Information |
---|---|
2012-04-07 stable |
|
2008-10-25 stable |
|
2004-11-27 stable |
|
2004-03-16 stable |
|
2004-03-15 stable |
|
2004-03-02 stable |
|
2004-02-06 stable |
|
2003-09-11 stable |
|
2003-05-06 stable |
|
2002-10-07 stable |
|
0.7 |
Easy InstallNot sure? Get more info. pear install XML_Transformer-0.7 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/XML_Transformer-0.7 Release date: 2002-09-22 07:08 UTC Release state: stable Release uploaded by: sebastian Changelog: + Added Anchor namespace handler. 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. Dependencies:
|
2002-09-17 stable |
|
2002-09-08 stable |
|
2002-09-04 stable |
|
2002-05-16 stable |
|
2002-04-07 stable |
|
2002-04-06 |