protected function _serializeOptionalValue($nodeName, $value)
	{
		return (!is_null($value) && $value !== '') ? $this->_serializeNode($nodeName, $value) : '';
	}
protected function _serializeOptionalValue($nodeName, $value)
	{
		return (!is_null($value) && $value !== '') ? $this->_serializeNode($nodeName, $value) : '';
	}
protected function _serializeOptionalValue ( $ nodeName , $ value ) { return ( ! is_null ( $ value ) && $ value !== '' ) ? $ this -> _serializeNode ( $ nodeName , $ value ) : '' ; }
Serialize the value as an xml element with the given node name. When
given an empty value, returns an empty string instead of an empty
element.

@param  string
@param  mixed
@return string
Serialize the value as an xml element with the given node name . When given an empty value returns an empty string instead of an empty element .