public function lastChild()
{
$found = new \SplObjectStorage();
$item = null;
foreach ($this->matches as $m) {
foreach ($m->childNodes as $c) {
if ($c->nodeType == XML_ELEMENT_NODE) {
$item = $c;
}
}
if ($item) {
$found->attach($item);
$item = null;
}
}
return $this->inst($found, null, $this->options);
}