[reportlab-users] Using XML Entities in PythonPoint?
Dinu Gherman
reportlab-users@reportlab.com
Thu, 13 Feb 2003 07:53:50 +0100
--Apple-Mail-2-240036974
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=ISO-8859-1;
format=flowed
I wrote:
> I can't remember if this was a general PP problem or if there was
> some workaround for it. I find that it's hard to add XML entities
> like > to PP text as is showcased in the following sample
> snippet below. PP gives me an error in paragraph.py complaining
> about the entity which it sees as a literal '<':
I fiddled a bit with it, but in vain. The PP samples contain no
such entities, maybe for a good reason?
Dinu
--
Dinu C. Gherman
......................................................................
"Wer einen Angriffskrieg (Artikel 26 Abs. 1 des Grundgesetzes), an dem
die Bundesrepublik Deutschland beteiligt sein soll, vorbereitet und
dadurch die Gefahr eines Krieges f=FCr die Bundesrepublik Deutschland
herbeif=FChrt, wird mit lebenslanger Freiheitsstrafe oder mit Freiheits-
strafe nicht unter zehn Jahren bestraft."
(StGB, =A7=A080: Vorbereitung eines Angriffskrieges)
--Apple-Mail-2-240036974
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
charset=ISO-8859-1
I wrote:
<excerpt>I can't remember if this was a general PP problem or if there
was
some workaround for it. I find that it's hard to add XML entities
like > to PP text as is showcased in the following sample
snippet below. PP gives me an error in paragraph.py complaining
about the entity which it sees as a literal '<<':
</excerpt>
I fiddled a bit with it, but in vain. The PP samples contain no
such entities, maybe for a good reason?
Dinu
--
Dinu C. Gherman
......................................................................
"Wer einen Angriffskrieg (Artikel 26 Abs. 1 des Grundgesetzes), an dem=20=
die Bundesrepublik Deutschland beteiligt sein soll, vorbereitet und=20
dadurch die Gefahr eines Krieges f=FCr die Bundesrepublik Deutschland=20
herbeif=FChrt, wird mit lebenslanger Freiheitsstrafe oder mit Freiheits-
strafe nicht unter zehn Jahren bestraft."=20
(StGB, =A7=A080: Vorbereitung eines Angriffskrieges)
--Apple-Mail-2-240036974--