/** * Start element handler for XML parser * * @access private * @param object XML parser object * @param string XML element * @param array Attributes of XML tag * @return void */ function startHandler($parser, $element, &$attribs) { parent::startHandler($parser, $element, $attribs); // do not add the guid tag incase "isPermaLink" set false if ($element == 'GUID' && isset($attribs['ISPERMALINK']) && $attribs['ISPERMALINK'] == 'false') { $this->activeTag = ''; } }