protected function _cacheChildren()
{
foreach ($this->_element->childNodes as $child) {
if (!isset($this->_children[$child->localName])) {
$this->_children[$child->localName] = array();
}
$this->_children[$child->localName][] = $child;
if ($child->prefix) {
if (!isset($this->_children[$child->prefix . ':' . $child->localName])) {
$this->_children[$child->prefix . ':' . $child->localName] = array();
}
$this->_children[$child->prefix . ':' . $child->localName][] = $child;
}
}
}