cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Cervera Areny" <informa...@sedifa.com>
Subject Re: using i18n in xsl
Date Tue, 16 Jul 2002 19:18:05 GMT
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 src="cocoon://file.xsl"/>
And file.xsl should be processed with a pipeline which would apply the
i18n. I'm not sure though if it is possible to make this kind of call
(cocoon://) inside the src parameter.Try it, and please let us know whether it worked or not.

> 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:text>titletext</i18n:text>
> </title>
>
> How do I use the same thing inside an xsl file?I dont want any
> contents inside my xml file.But everything should be inside an xsl
> file,,,Please help me,,,
>
> Kavitha
> _________________________________________________________
> Click below  to experience Aishwarya Rai's beauty secrets. New
> International Lux Skincare - It's not just soap, It's skincare.
> http://www.luxskincare.com
>
>
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


-- 
Albert Cervera Areny
Dept. Informàtica Sedifa, S.L.



---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message