[reportlab-users] errors parsing & > in paragraphs

Andy Robinson andy at reportlab.com
Wed Oct 19 04:54:04 EDT 2005


> >"you can escape all the < & > fairly easily. eg
> >
> >fld=fld.replace('&','&amp;').replace('<','&lt;').replace('>','&gt;')"
> >
> >I originally used a slightly less compact form and thought this was nice.
> >
> and there isn't anything else i might need to escape?
>


These are the only characters which must be escaped to create XML chunks.

- Andy




More information about the reportlab-users mailing list