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
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:
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
Subject: Re: Re: mixing xml and xsl
with i18n
07/19/2002 03:21 PM
h"
> [EMAIL PROTECTED]
> fmail.com> cc:
> Subject:
>mixing xml and xsl with i18n
> 07/18/2002 07:03 PM
> Please respond to
>
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
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.
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
cc:
Subject: mixing xml and xsl with
i18n
07/18/2002 07:03 PM
> 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
>
>
>
>
>
>
>
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-
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
> 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
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
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
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";>
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
> --
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
18 matches
Mail list logo