https://www.webcodegeeks.com/php/php-xmlencoder-xmldecoder-example/
PHP Xmlencoder & Xmldecoder Example