english/libraries/joomla/updater/update.php
/**
	 * XML Start Element callback
	 *
	 * @param   object  $parser  Parser object
	 * @param   string  $name    Name of the tag found
	 * @param   array   $attrs   Attributes of the tag
	 *
	 * @return  void
	 *
	 * @note    This is public because it is called externally
	 * @since   11.1
	 */
XML Start Element callback
@param   object  $parser  Parser object
@param   string  $name    Name of the tag found
@param   array   $attrs   Attributes of the tag

@return  void

@note    This is public because it is called externally
@since   11.1
XML Start Element callback @param object $parser Parser object @param string $name Name of the tag found @param array $attrs Attributes of the tag @return void @note This is public because it is called externally @since 11 . 1
public function _startElement($parser, $name, $attrs = Array())
	{
		array_push($this->_stack, $name);
		$tag = $this->_getStackLocation();
		eval('$this->'. $tag .'->_data = "";');
		switch($name) {
			case 'UPDATE':
				$this->_current_update = new stdClass;
				break;
			case 'UPDATES':
				break;
			default:
				$name = strtolower($name);
				$this->_current_update->$name->_data = '';
				foreach($attrs as $key=>$data) {
					$key = strtolower($key);
					$this->_current_update->$name->$key = $data;
				}
				break;
		}
	}
public function _startElement ( $ parser , $ name , $ attrs = Array ( ) ) { array_push ( $ this -> _stack , $ name ) ; $ tag = $ this -> _getStackLocation ( ) ; eval ( '$this->' . $ tag . '->_data = "";' ) ; switch ( $ name ) { case 'UPDATE' : $ this -> _current_update = new stdClass ; break ; case 'UPDATES' : break ; default : $ name = strtolower ( $ name ) ; $ this -> _current_update -> $ name -> _data = '' ; foreach ( $ attrs as $ key => $ data ) { $ key = strtolower ( $ key ) ; $ this -> _current_update -> $ name -> $ key = $ data ; } break ; } }
XML Start Element callback
 @param   object  $parser  Parser object
 @param   string  $name    Name of the tag found
 @param   array   $attrs   Attributes of the tag
XML Start Element callback @param object $parser Parser object @param string $name Name of the tag found @param array $attrs Attributes of the tag
// Reset the data // This is a new update; create a current update // Don't do anything // For everything else there's...the default!