protected function storeLeafNodes()
	{
		foreach (array_filter($this->branches) as $branch)
		{
			$this->leafNodes[] = end($branch);
		}
	}
protected function storeLeafNodes()
	{
		foreach (array_filter($this->branches) as $branch)
		{
			$this->leafNodes[] = end($branch);
		}
	}
protected function storeLeafNodes ( ) { foreach ( array_filter ( $ this -> branches ) as $ branch ) { $ this -> leafNodes [ ] = end ( $ branch ) ; } }
Store the names of every leaf node

A leaf node is defined as the closest non-XSL ancestor to an xsl:apply-templates element

@return void
Store the names of every leaf node