Hi,
I got the solution from Mr.Konstantin.I should run the i18n
transformer for xsl in the sitemap.The xsl file would look like,
xsl:template match=title
i18n:texttitletext/i18n:text
/xsl:template
And the namespace should be added in the xsl file.
Kavitha
On Wed, 17 Jul 2002 Albert
It's a good idea to send a message to cocoon-users list with '[SUMMARY]'
prefix in the subject of the message when you got a solution. And give a
short context of the question and the answer in the body. These kind of
messages are picked up by documentation people and a FAQ entry is created
from
Hi,
I'm using your i18n in cocoon. It works fine!
Thanks :-)
- Original Message -
From: Piroumian Konstantin [EMAIL PROTECTED]
To: 'kavitha ramesh' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 10:32 AM
Subject: [SUMMARY] using i18n in xsl
It's a good idea
in translations and parameters, inline translation features
and some other goodies.
Konstantin
- Original Message -
From: Piroumian Konstantin [EMAIL PROTECTED]
To: 'kavitha ramesh' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 10:32 AM
Subject: [SUMMARY] using i18n
Hi,
I would like to use the i18n tags inside an xsl file.Is it
possible?If so how do I use it?
For example, I have the following content inside an xml file:
title
i18n:texttitletext/i18n:text
/title
How do I use the same thing inside an xsl file?I dont want any
contents inside my xml
I'm quite new to cocoon but I've been having trouble with things like
that. The thing is that you should process the XSL file, and after that,
apply it to the XML one.
May be it doesn't work but you could try to use cocoon://file.xsl instead
of file.xsl in the transform call. transform