Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Jeorg, It works,,, Thanks a lot,,, Kavitha. On Fri, 19 Jul 2002 Joerg Heinicke wrote : >Hello Kavitha, > >as I see you have a working version: > > > Maleselect="gender/name"/> > >and a non-working version > > > select="@sex"/> > select="gender/name"/> > >The problem is really easy, it's o

Re: mixing xml and xsl with i18n

2002-07-19 Thread Joerg Heinicke
Hello Kavitha, as I see you have a working version: > Male and a non-working version > select="gender/name"/> The problem is really easy, it's only an XPath problem. The @sex attribute as not on the element, but on the element. SO you either change the XML: Ravi or in the XSL:

Re: Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Jeorg, Now my xsl is like this: conc.xsl Male My xml file is as follows: conc.xml Ravi Veena conc.xml?locale=en_US English conc.xml?locale=de_DE German and my sitemap is as follows: and in the browser Ia

Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread sidharthg
Subject: Re: Re: mixing xml and xsl with i18n 07/19/2002 03:21 PM

Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
h" > [EMAIL PROTECTED] > fmail.com> cc: > Subject: >mixing xml and xsl with i18n > 07/18/2002 07:03 PM > Please respond to >

Re: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Jeorg, I tried with the following sitemap: I got just the names, Kavitha, Ramesh in the browser. Kavitha On Thu, 18 Jul 2002 Joerg Heinicke wrote : > > > > > > > > > > > > > > > >Hello Kavitha, > >can you shorten the pipeline and see what the output is? > >I would start with only

Re: RE: RE: Re: mixing xml and xsl with i18n

2002-07-19 Thread kavitha ramesh
Hi Konstantin, There is no 1i8n related messages in the log file.I turned off the xslt and tried.Iam getting the names Kavitha, Ramesh in the browser. Kavitha On Thu, 18 Jul 2002 Piroumian Konstantin wrote : > > From: kavitha ramesh [mailto:[EMAIL PROTECTED]] > > > > Hi Konstantin, > > > > 1.

Re: mixing xml and xsl with i18n

2002-07-18 Thread Joerg Heinicke
That' not correct. The output of the XSL transformer is XML and you can add elements to this output XML without any problems. As long as you use the i18n transformer after the XSL transformer, the text should be translated. Regards, Joerg [EMAIL PROTECTED] wrote: > Hi > I think you will hav

Re: mixing xml and xsl with i18n

2002-07-18 Thread sidharthg
cc: Subject: mixing xml and xsl with i18n 07/18/2002 07:03 PM

RE: RE: Re: mixing xml and xsl with i18n

2002-07-18 Thread Piroumian Konstantin
> From: kavitha ramesh [mailto:[EMAIL PROTECTED]] > > Hi Konstantin, > > 1.I checked the cocoon log file and it says that: > DEBUG (2002-07-18) 17:15.25:840 [cocoon ] > (/cocoon/concatenate/jsp/conc) HttpProcessor[8080][4]/DefaultPool: > Retrieving a > org.apache.cocoon.components.pipel

Re: mixing xml and xsl with i18n

2002-07-18 Thread Joerg Heinicke
> > > > > > > Hello Kavitha, can you shorten the pipeline and see what the output is? I would start with only the JSP generator and a . If it seems to be ok add the conc.xsl and so on. Regards, Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-

Re: RE: Re: mixing xml and xsl with i18n

2002-07-18 Thread kavitha ramesh
Hi Konstantin, 1.I checked the cocoon log file and it says that: DEBUG (2002-07-18) 17:15.25:840 [cocoon ] (/cocoon/concatenate/jsp/conc) HttpProcessor[8080][4]/DefaultPool: Retrieving a org.apache.cocoon.components.pipeline.CachingEventPipeline from the pool 2.I use JSP since I dont h

RE: Re: mixing xml and xsl with i18n

2002-07-18 Thread Piroumian Konstantin
> From: kavitha ramesh [mailto:[EMAIL PROTECTED]] > > Hi Jeorg, > > The output is just a blank page.My sitemap is as follows(My file > is a jsp file): > > > > > > > > > > > my log files has the following content: > > Logger for category root.xslt returned And that's all? Are you lo

Re: Re: mixing xml and xsl with i18n

2002-07-18 Thread kavitha ramesh
Hi Jeorg, The output is just a blank page.My sitemap is as follows(My file is a jsp file): my log files has the following content: Logger for category root.xslt returned Kavitha On Thu, 18 Jul 2002 Joerg Heinicke wrote : >What's your output? You should at least see 'Male' and 'Fem

Re: mixing xml and xsl with i18n

2002-07-18 Thread Joerg Heinicke
What's your output? You should at least see 'Male' and 'Female' in the output. If you don't specify a key (i18n:key attribute), the text in the element is used as key, therefore I wrote . How does your sitemap according i18n look like? What's written in the log files? Joerg kavitha ramesh w

Re: Re: mixing xml and xsl with i18n

2002-07-18 Thread kavitha ramesh
Hi Jeorg, Thanks for your reply. Nothing is happening when I tried your code.In the xsl file should I add the message keys Male and Female? Kavitha On Thu, 18 Jul 2002 Joerg Heinicke wrote : >xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; >xmlns:i18n="http://apache.org/cocoon/i18n/2.0";>

Re: mixing xml and xsl with i18n

2002-07-18 Thread Joerg Heinicke
http://www.w3.org/1999/XSL/Transform"; xmlns:i18n="http://apache.org/cocoon/i18n/2.0";> in catalogue_en.xml: Mr. Mrs. in catalogue_de.xml: Frau Herr Regards, Joerg kavitha ramesh wrote: > Hi, > > I have an xml file which is as follows: > > simple.xml > --

mixing xml and xsl with i18n

2002-07-18 Thread kavitha ramesh
Hi, I have an xml file which is as follows: simple.xml -- Ramesh Kavitha and my xsl file is as follows: simple.xsl -- text1 text2 and my messages for i18n are as follows: messages_en --- Mr Mrs messages_de --- Herrn Frau If the sex is male, the