src/Reading/SVGReader.php
private function addChildren(SVGNodeContainer $node, \SimpleXMLElement $xml,
        array $namespaces)
    {
        foreach ($xml->children() as $child) {
            $node->addChild($this->parseNode($child, $namespaces));
        }
    }
private function addChildren(SVGNodeContainer $node, \SimpleXMLElement $xml,
        array $namespaces)
    {
        foreach ($xml->children() as $child) {
            $node->addChild($this->parseNode($child, $namespaces));
        }
    }
private function addChildren ( SVGNodeContainer $ node , \ SimpleXMLElement $ xml , array $ namespaces ) { foreach ( $ xml -> children ( ) as $ child ) { $ node -> addChild ( $ this -> parseNode ( $ child , $ namespaces ) ) ; } }
Iterates over all children, parses them into library class instances,
and adds them to the given node container.

@param SVGNodeContainer  $node       The node to add the children to.
@param \SimpleXMLElement $xml        The XML node containing the children.
@param string[]          $namespaces Array of allowed namespace prefixes.

@return void
Iterates over all children parses them into library class instances and adds them to the given node container .