Re: [Zope] i18n tags in XML file using Page Templates
The error message is the following: <!-- Page Template Diagnostics Compilation failed xml.parsers.expat.ExpatError: unbound prefix: line 7, column 20 --> Line 7 is exctly where the i18n tag is ----- Mensaje original ---- De: Andreas Jung <lists@zopyx.com> Para: Daniel de la Cuesta <cues7a@yahoo.es>; zope@zope.org Enviado: lunes, 13 de noviembre, 2006 1:51:49 Asunto: Re: [Zope] i18n tags in XML file using Page Templates --On 13. November 2006 00:48:22 +0100 Daniel de la Cuesta <cues7a@yahoo.es> wrote:
Hi everybody,
I am want to return an XML file with i18n tags using a page template.
For example:
<?xml version="1.0" encoding="UTF-8"?> <language xmlns:tal="http://xml.zope.org/namespaces/tal";> <value i18n:translate="">My value</value> </language>
When I use the i18n tag inside the page template I get a compilation error.
It would really help if you could include the complete *error message*. -aj ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com
--On 13. November 2006 08:07:17 +0000 Daniel de la Cuesta <cues7a@yahoo.es> wrote:
The error message is the following:
<!-- Page Template Diagnostics Compilation failed xml.parsers.expat.ExpatError: unbound prefix: line 7, column 20 -->
Look carefully at your code. You defined the 'tal' namespace but on the 'i18n' namespace. -aj
participants (2)
-
Andreas Jung -
Daniel de la Cuesta