libraries/ManiaLib/Gui/Manialink.php
static function appendXML($XML)
    {
        $doc = new \DOMDocument('1.0', 'utf-8');
        $doc->loadXML($XML);
        $node = self::$domDocument->importNode($doc->firstChild, true);
        end(self::$parentNodes)->appendChild($node);
    }
static function appendXML($XML)
    {
        $doc = new \DOMDocument('1.0', 'utf-8');
        $doc->loadXML($XML);
        $node = self::$domDocument->importNode($doc->firstChild, true);
        end(self::$parentNodes)->appendChild($node);
    }
Append some XML code to the document
@param string Some XML code