| 
<?php
 /*
 * This file is part of the abgeo/xml-to-json.
 *
 * Copyright (C) 2020 Temuri Takalandze <[email protected]>.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
 
 use ABGEO\XmlToJson\StringConverter;
 
 require __DIR__ . '/../vendor/autoload.php';
 
 $converter = new StringConverter();
 $xmlContent = file_get_contents(__DIR__ . '/example.xml');
 
 echo $converter->convert($xmlContent);
 
 |