private function addChildren(SVGNodeContainer $node, \SimpleXMLElement $xml,
        array $namespaces)
    {
        foreach ($xml->children() as $child) {
            $node->addChild($this->parseNode($child, $namespaces));
        }
    }