Skip to content

XML to Array is a PHP library to convert XML content into PHP arrays and supports XML validation using XSD schemas.

License

Unknown and 3 other licenses found

Licenses found

Unknown
LICENSE.md
Apache-2.0
LICENSE_APACHE_2.md
BSD-3-Clause
LICENSE_BSD_3C.md
LGPL-3.0
LICENSE_GNU_LGPL_3.md
Notifications You must be signed in to change notification settings

a19836/xml-to-php-array

XML to PHP Array

Original Repos:

Overview

XML to PHP Array is a PHP library to convert XML content into PHP arrays and supports XML validation using XSD schemas.

To see a working example, open index.php on your server.


Usage

XML File Usage

$array = XMLFileParser::parseXMLFileToArray($xml_file_path);

XML Content Usage

$array = XMLFileParser::parseXMLContentToArray($content);

Other Methods

To better understand what are the available XML functions this library have, please analyse the following files: