/**
* undocumented function
*
* @param XPathExpr $xpath
* @param XPathExpr $expr
*
* @return XPathExpr
*/
protected function _xpath_nth_of_type($xpath, $expr)
{
if ($xpath->getElement() == '*') {
throw new ParseException('*:nth-of-type() is not implemented');
}
return $this->_xpath_nth_child($xpath, $expr, false, false);
}