function startElementHandler($parser, $name, $attrs) { if ($this->getElementName($name) == 'DC') { $this->_namespaces = $this->getNamespaceArray($attrs); array_push($this->tagstack, $name); } else { parent::startElementHandler($parser, $name, $attrs); } }
function startElementHandler($parser, $name, $attribs) { if ($this->getElementName($name) == 'IDENTIFIER') { if ($this->isTypeIsURL($attribs)) { $this->_identifierTypeAttr = 'URL'; } else { $this->_identifierTypeAttr = ''; } $this->_cdata_buf = ''; array_push($this->tagstack, $name); } else { if ($this->getElementName($name) == 'META') { $this->_namespaces = $this->getNamespaceArray($attribs); array_push($this->tagstack, $name); } else { parent::startElementHandler($parser, $name, $attribs); } } }