cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kavitha ramesh" <kavirames...@rediffmail.com>
Subject Re: Re: using i18n in xsl
Date Wed, 17 Jul 2002 08:08:24 GMT

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:text>titletext</i18n:text>
  </xsl:template>

And the namespace should be added in the xsl file.

Kavitha



On Wed, 17 Jul 2002 Albert Cervera Areny wrote :
>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>
>

_________________________________________________________
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>


Mime
View raw message