[ANNOUNCEMENT] XML_Serializer-0.15.0 (beta) Released.
| From: | PEAR Announce | Date: | Sat, 12 Feb 2005 15:20:45 +0000 |
| Subject: | [ANNOUNCEMENT] XML_Serializer-0.15.0 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17505@lists.php.net to get a copy of this message | ||
The new PEAR package XML_Serializer-0.15.0 (beta) has been released at http://pear.php.net/.
Release notes
-------------
XML_Serializer:
- added option to return the result directly from serialize()
XML_Unserializer:
- added option to return the result directly from unserialize(),
- added defaultClass option
- added tagAsClass option (fixes Bug #3303)
- fixed bug (tag name was not used as classname when tag was empty)
Package Info
-------------
XML_Serializer serializes complex data structures like arrays or object as XML documents.
This class helps you generating any XML document you require without the need for DOM.
Furthermore this package can be used as a replacement to serialize() and unserialize() as it comes
with a matching XML_Unserializer that is able to create PHP data structures (like arrays and
objects) from XML documents, if type hints are available.
If you use the XML_Unserializer on standard XML files, it will try to guess how it has to be
unserialized. In most cases it does exactly what you expect it to do.
Try reading a RSS file with XML_Unserializer and you have the whole RSS file in a structured array
or even a collection of objects, similar to XML_RSS.
Since version 0.8 the package is able to treat XML documents like the simplexml extension of PHP 5.
Related Links
-------------
Package home: http://pear.php.net/package/XML_Serializer
Changelog: http://pear.php.net/package/XML_Serializer/download/0.15.0
Download: http://pear.php.net/get/XML_Serializer-0.15.0.tgz
Authors
-------------
Stephan Schmidt <schst@php.net> (lead)