OpenSim.VisitorBoard/classes/Xml.php

12 lines
477 B
PHP
Raw Permalink Normal View History

2020-11-28 08:19:59 +00:00
<?php
/***********************************************************************
* Script (c) Kubwa (https://kubwa.de)
*
* This script was release under BSD license.
* You are free to use, share or change this code as you wish. This
* header must be kept intact.
***********************************************************************/
function ParseXml($Xml)
{return json_decode(json_encode(simplexml_load_string($Xml, "SimpleXMLElement", LIBXML_NOCDATA)), true);}
?>