protected function _switch(array $node) {
		$attrib=$node['@attrib'];
		unset($node['@attrib']);
		foreach ($node as $pos=>$block)
			if (is_string($block) && !preg_replace('/\s+/','',$block))
				unset($node[$pos]);
		return
			'<?php switch ('.$this->token($attrib['expr']).'): ?>'.
				$this->build($node).
			'<?php endswitch; ?>';
	}
protected function _switch(array $node) {
		$attrib=$node['@attrib'];
		unset($node['@attrib']);
		foreach ($node as $pos=>$block)
			if (is_string($block) && !preg_replace('/\s+/','',$block))
				unset($node[$pos]);
		return
			'<?php switch ('.$this->token($attrib['expr']).'): ?>'.
				$this->build($node).
			'<?php endswitch; ?>';
	}
protected function _switch ( array $ node ) { $ attrib = $ node [ '@attrib' ] ; unset ( $ node [ '@attrib' ] ) ; foreach ( $ node as $ pos => $ block ) if ( is_string ( $ block ) && ! preg_replace ( '/\s+/' , '' , $ block ) ) unset ( $ node [ $ pos ] ) ; return '<?php switch (' . $ this -> token ( $ attrib [ 'expr' ] ) . '): ?>' . $ this -> build ( $ node ) . '<?php endswitch; ?>' ; }
Template -switch- tag handler
@return string
@param $node array
Template - switch - tag handler