[reportlab-users] UsersGuide Platypus including '<' in text

Robin Becker robin at reportlab.com
Sun Oct 29 14:04:11 EST 2006


george wrote:
> Im documenting some text which includes the following m*x + b < limit.  
> When try to insert this into a Paragraph, I get an error message ending
> 
>     raise "xml parser error (%s) in paragraph beginning\n'%s'"\
>    xml parser error (bogus < or &) in paragraph beginning
>    'm*x + b < limit'
>     >>>
> 
> I haven't been able to find out how to escape 'reserved' characters such 
> as '<' and '>'.
> 
> thanks
> george
> 

use &lt; &amp; &gt; for < & > which are the standard xml entities.
-- 
Robin Becker


More information about the reportlab-users mailing list