/** * * @param string content * @return boolean */ public function matches($content = null) { if (!parent::matches($content)) { return false; } return preg_match($this->getRootNamespacePattern(), $this->getDomDocument()->documentElement->getAttribute('xmlns')) > 0; }
/** * * @param string content * @return boolean */ public function matches($content = null) { return parent::matches($content); }