[Zope] special characters in XML
Andreas Jung
lists at zopyx.com
Fri Dec 15 07:09:53 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --On 15. Dezember 2006 13:05:39 +0100 Daniel de la Cuesta
<daniel.cuesta at iavante.es> wrote:
> Hello,
>
> I am using a page template to geneate a valid XML document, this is the
> template:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <person xmlns:tal="http://xml.zope.org/namespaces/tal">
> <name tal:content="string:&hello">
> Mi mobile
> </name>
> </person>
>
> The caracter "&" gives me the following error:
Either use & or put your stuff inside a CDATA section.
- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
iD8DBQFFgpCRCJIWIbr9KYwRAjqDAKCxZh/LiHeENEFayRUdNPKYHfkUNACfbIYR
FXf1PvLFEbpF1Wm+bCVTeqQ=
=THxZ
-----END PGP SIGNATURE-----
More information about the Zope
mailing list