$form = new HTML_Template_Flexy();
$form->compile($this->masterTemplate);
// create an instance (note you dont have to specify any details..)
$elements['test'] = new HTML_Template_Flexy_Element;
// change an attribute
$elements['test']->attributes['class'] = 'bold';
// sets the value
$elements['test']->setValue('Fred');
$form->output(new StdClass, $elements);
// in the example below, the new data you have added is to the existing attributes |