add <BR> to the end of each line example: l_errorMessage = "These IDs have Errors<BR>" #ADD <BR> AT END OF HEADER LINE Loop l_errorMessage = l_errorMessage + " %s<BR>" % (ID) #ADD <BR> AT END OF EACH ID ENTRY end loop ----- Original Message ---- From: April Lekin <lekin2@llnl.gov> To: zope@zope.org Sent: Wednesday, December 6, 2006 11:12:20 AM Subject: [Zope] Adding HTML to Python In Python I'm building this error message: l_errorMessage = "These IDs have Errors" Loop l_errorMessage = l_errorMessage + " %s " % (ID) end loop return l_errorMessage. How can I put breaks (returns) between the IDs so each ID will be displayed on it's own line? like: These IDs have Errors: 1 46 76 45 _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ____________________________________________________________________________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.