protected function marshallChildrenKnown(QtiComponent $component, array $elements)
    {
        $element = self::getDOMCradle()->createElement($component->getQtiClassName());

        $this->setDOMElementAttribute($element, 'name', Statistics::getNameByConstant($component->getName()));

        foreach ($elements as $elt) {
            $element->appendChild($elt);
        }

        return $element;
    }