src/Styling.php
private function parseChildren($node, &$attributes, $vars)
    {
        $result = '';
        for ($child = $node->firstChild; $child != null; $child = $child->nextSibling) {
            $result .=  $this->parseNode($child, $attributes, $vars);
        }
        return $result;
    }
private function parseChildren($node, &$attributes, $vars)
    {
        $result = '';
        for ($child = $node->firstChild; $child != null; $child = $child->nextSibling) {
            $result .=  $this->parseNode($child, $attributes, $vars);
        }
        return $result;
    }
private function parseChildren ( $ node , & $ attributes , $ vars ) { $ result = '' ; for ( $ child = $ node -> firstChild ; $ child != null ; $ child = $ child -> nextSibling ) { $ result .= $ this -> parseNode ( $ child , $ attributes , $ vars ) ; } return $ result ; }
This method is used to apply the parsing method
to children of an XML node.

\param DOMNode $node
The node being parsed.

\param array $attributes
Array of styling attributes.

\param array $vars
Template variables that can be injected in the result.

\retval string
Parsing result, with styles applied as appropriate.
This method is used to apply the parsing method to children of an XML node .