Hi Nico, I believe the problem is in trying to set the namespace via the name attribute. xsp:attribute has two attributes (uri and prefix) for setting the namespace. Go to this page:
http://wiki.cocoondev.org/Wiki.jsp?page=XSPSyntax And scroll down to the section on xsp:attribute. Hope that helps! Harry -----Original Message----- From: Nico Bekema [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 4:48 PM To: [EMAIL PROTECTED] Subject: i18n in combination with xsp:attribute Hi, can somebody explain to me why the following piece of xsp does not work <i18n:text> <xsp:attribute name="i18n:key"> myKey </xsp:attribute> defaultValue </i18n:text> while this piece does work <i18n:text i18n:key="myKey"> defaultValue </i18n:text> I would like to dynamically create the i18n:text element by getting the i18n:key and the default value from a database. thx, Nico --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>