public function getDirectChild($tag)
{
$root = $this->element->firstChild && $this->element->firstChild->nodeName == 'bundle' ? $this->element->firstChild : $this->element;
if ($root->childNodes) {
foreach ($root->childNodes as $child) {
if ($child->nodeName == $tag) {
return $child;
}
}
}
}