<% str_xml = get_UTF8_BOM #Function present in fusioncharts_helper library str_xml +="" str_xml +="" for item in @factory_data str_xml += "" end str_xml+="" #Output the xml %><%=str_xml%>