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);
    }