<html>
<body>
Hi,<br>
I tried that and it will print the &lt;BR&gt;, like this<br><br>
These IDs have Errors:&lt;BR&gt; 1&lt;BR&gt; 46 &lt;BR&gt; 76&lt;BR&gt;
45&lt;BR&gt;<br><br>
At 09:43 AM 12/6/2006, Roberto Benitez wrote:<br>
<blockquote type=cite class=cite cite="">add &lt;BR&gt; to the end of
each line<br>
&nbsp;<br>
example:&nbsp; <br>
&nbsp;<br>
l_errorMessage = &quot;These IDs have Errors&lt;BR&gt;&quot; #ADD
&lt;BR&gt; AT END OF HEADER LINE<br>
Loop<br>
&nbsp;&nbsp; l_errorMessage = l_errorMessage + &quot; %s&lt;BR&gt;&quot;
% (ID) #ADD &lt;BR&gt; AT END OF EACH ID ENTRY<br>
end loop<br><br>
<br>
----- Original Message ----<br>
From: April Lekin &lt;lekin2@llnl.gov&gt;<br>
To: zope@zope.org<br>
Sent: Wednesday, December 6, 2006 11:12:20 AM<br>
Subject: [Zope] Adding HTML to Python<br><br>
In Python I'm building this error message:<br><br>
l_errorMessage = &quot;These IDs have Errors&quot;<br>
Loop<br>
&nbsp;&nbsp; l_errorMessage = l_errorMessage + &quot; %s &quot; %
(ID)<br>
end loop<br><br>
return l_errorMessage.<br><br>
How can I put breaks (returns) between the IDs so each ID will be <br>
displayed on it's own line?<br>
like:<br><br>
These IDs have Errors:<br>
1<br>
46<br>
76<br>
45<br>
&nbsp; <br>
_______________________________________________<br>
Zope maillist&nbsp; -&nbsp; Zope@zope.org<br>
<font color="#0000FF">
<a href="http://mail.zope.org/mailman/listinfo/zope">
http://mail.zope.org/mailman/listinfo/zope</a></font><br>
**&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp; **<br>
(Related lists - <br>
<font color="#0000FF">
<a href="http://mail.zope.org/mailman/listinfo/zope-announce">
http://mail.zope.org/mailman/listinfo/zope-announce</a></font><br>
<font color="#0000FF">
<a href="http://mail.zope.org/mailman/listinfo/zope-dev" eudora="autourl">
http://mail.zope.org/mailman/listinfo/zope-dev</a></font> )<br><br>
<br>
<br>
Everyone is raving about
<a href="http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/mailbeta">
the all-new Yahoo! Mail beta.</a> <br>
_______________________________________________<br>
Zope maillist&nbsp; -&nbsp; Zope@zope.org<br>
<a href="http://mail.zope.org/mailman/listinfo/zope" eudora="autourl">
http://mail.zope.org/mailman/listinfo/zope</a><br>
**&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp; **<br>
(Related lists - <br>
&nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-announce" eudora="autourl">
http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
&nbsp;<a href="http://mail.zope.org/mailman/listinfo/zope-dev" eudora="autourl">
http://mail.zope.org/mailman/listinfo/zope-dev</a> )</blockquote></body>
</html>