src/XML/Parser.php
protected function handleTagOpenForObject( $parser, $tag, $attributes )
	{
		$count		= count( $this->last ) - 1;
		$parentNode	=& $this->last[$count];
		$childNode	= new XML_DOM_Node(
			$tag,
			"",
			$attributes
		);
		$parentNode->addChild( $childNode );
		$this->last[]	=& $childNode;
	}
protected function handleTagOpenForObject( $parser, $tag, $attributes )
	{
		$count		= count( $this->last ) - 1;
		$parentNode	=& $this->last[$count];
		$childNode	= new XML_DOM_Node(
			$tag,
			"",
			$attributes
		);
		$parentNode->addChild( $childNode );
		$this->last[]	=& $childNode;
	}
protected function handleTagOpenForObject ( $ parser , $ tag , $ attributes ) { $ count = count ( $ this -> last ) - 1 ; $ parentNode = & $ this -> last [ $ count ] ; $ childNode = new XML_DOM_Node ( $ tag , "" , $ attributes ) ; $ parentNode -> addChild ( $ childNode ) ; $ this -> last [ ] = & $ childNode ; }
Callback Method for opening Tags on Object Collection.
@access		protected
@param		resource	$parser		Resource of XML Parser
@param		string		$tag		Name of parsed Tag
@param		array		$attributes	Array of parsed Attributes
@return		void
Callback Method for opening Tags on Object Collection .