XML_Utilpear.php.netXML utility classSelection of methods that are often needed when working with XML documents. Functionality includes creating of attribute lists from arrays, creation of tags, validation of XML names and more.Chuck Burgessashnazgashnazg@php.netyesStephan Schmidtschstschst@php-tools.netnoDavey Shafikdaveydavey@php.netno2008-12-071.2.11.2.0stablestableBSD LicenseFixed Bug #14760: Bug in getDocTypeDeclaration() [ashnazg|fpospisil]4.3.01.4.3pcre1.2.11.2.0stablestable2008-12-07BSD LicenseFixed Bug #14760: Bug in getDocTypeDeclaration() [ashnazg|fpospisil]1.2.01.2.0stablestable2008-07-26BSD LicenseChanged license to New BSD License (Req #13826 [ashnazg])
Added a test suite against all API methods [ashnazg]
Switch to package.xml v2 [ashnazg]
Added Req #13839: Missing XHTML empty tags to collapse [ashnazg|drry]
Fixed Bug #5392: encoding of ISO-8859-1 is the only supported encoding [ashnazg]
Fixed Bug #4950: Incorrect CDATA serializing [ashnazg|drry]
-- (this fix differs from the one in v1.2.0a1)1.2.0RC11.2.0betabeta2008-07-12BSD LicenseChanged license to New BSD License (Req #13826 [ashnazg])
Added a test suite against all API methods [ashnazg]
Switch to package.xml v2 [ashnazg]
Added Req #13839: Missing XHTML empty tags to collapse [ashnazg|drry]
Fixed Bug #5392: encoding of ISO-8859-1 is the only supported encoding [ashnazg]
Fixed Bug #4950: Incorrect CDATA serializing [ashnazg|drry]
-- (this fix differs from the one in v1.2.0a1)1.2.0a21.2.0alphaalpha2008-05-22BSD LicenseChanged license to New BSD License (Req #13826 [ashnazg])
Added a test suite against all API methods [ashnazg]
Switch to package.xml v2 [ashnazg]
Added Req #13839: Missing XHTML empty tags to collapse [ashnazg|drry]
Fixed Bug #5392: encoding of ISO-8859-1 is the only supported encoding [ashnazg]
Fixed Bug #4950: Incorrect CDATA serializing [ashnazg|drry]
-- (this fix differs from the one in v1.2.0a1)1.2.0a11.2.0alphaalpha2008-05-04BSD LicenseChanged license to New BSD License (Req #13826 [ashnazg])
Added a test suite against all API methods [ashnazg]
Switch to package.xml v2 [ashnazg]
Fixed Bug #4950: Incorrect CDATA serializing [ashnazg|ja.doma]1.1.41.1.4stablestable2006-12-16PHP License- Fixed bug #9561: Not allowing underscores in middle of tags1.1.21.1.2stablestable2006-12-01PHP License- fixed bug #5419: isValidName() now checks for character classes
- implemented request #8196: added optional parameter to influence array sorting to createTag() createTagFromArray() and createStartElement()1.1.11.1.1stablestable2004-12-23PHP License- fixed bug in replaceEntities() and reverseEntities() in conjunction with XML_UTIL_ENTITIES_HTML
- createTag() and createTagFromArray() now accept XML_UTIL_ENTITIES_XML, XML_UTIL_ENTITIES_XML_REQUIRED, XML_UTIL_ENTITIES_HTML, XML_UTIL_ENTITIES_NONE and XML_UTIL_CDATA_SECTION as $replaceEntities parameter1.1.01.1.0stablestable2004-11-19PHP License- Added collapseEmptyTags (patch by Sebastian Bergmann and Thomas Duffey)1.0.01.0.0stablestable2004-10-28PHP License- Added reverseEntities() (request #2639)0.6.10.6.1stablestable2004-10-28PHP License- Added check for tag name (either as local part or qualified name) in createTagFromArray() (bug #1083)0.6.00.6.0stablestable2004-06-07PHP License- Fixed bug 1438 (namespaces not accepted for isValidName()) (thanks to davey)
- added optional parameter to replaceEntities() to define the set of entities to replace
- added optional parameter to attributesToString() to define, whether entities should be replaced (requested by Sebastian Bergmann)
- allowed second parameter to XML_Util::attributesToString() to be an array containing options (easier to use, if you only need to set the last parameter)
- introduced XML_Util::raiseError() to avoid the necessity of including PEAR.php, will only be included on error0.6.0beta10.6.0beta1betabeta2004-05-24PHP License- Fixed bug 1438 (namespaces not accepted for isValidName()) (thanks to davey)
- added optional parameter to replaceEntities() to define the set of entities to replace
- added optional parameter to attributesToString() to define, whether entities should be replaced (requested by Sebastian Bergmann)
- allowed second parameter to XML_Util::attributesToString() to be an array containing options (easier to use, if you only need to set the last parameter)
- introduced XML_Util::raiseError() to avoid the necessity of including PEAR.php, will only be included on error0.5.20.5.2stablestable2003-11-22PHP Licensenow creates XHTML compliant empty tags (Davey),
minor whitespace fixes (Davey)0.5.10.5.1stablestable2003-09-26PHP Licenseadded default namespace parameter (optional) in splitQualifiedName() (requested by Sebastian Bergmann)0.50.5stablestable2003-09-23PHP Licenseadded support for multiline attributes in attributesToString(), createTag*() and createStartElement (requested by Yavor Shahpasov for XML_Serializer),
added createComment0.40.4stablestable2003-09-21PHP Licenseadded createCDataSection(),
added support for CData sections in createTag* methods,
fixed bug #23,
fixed bug in splitQualifiedName()0.30.3stablestable2003-09-12PHP Licenseadded createStartElement() and createEndElement()0.2.10.2.1stablestable2003-09-05PHP Licensefixed bug with zero as tag content in createTagFromArray and createTag0.20.2stablestable2003-08-12PHP Licenseadded XML_Util::getDocTypeDeclaration()0.1.10.1.1stablestable2003-08-02PHP Licensebugfix: removed bug in createTagFromArray0.10.1stablestable2003-08-01PHP Licenseinital release