Hi Johnson,

Have you tried request:accept from the RequestGenerator to define if it accepts 
xhtml? I haven't tried it myself but I think you can get the information from 
it you want.
More about the RequestGenerator on 
http://cocoon.apache.org/2.1/userdocs/request-generator.html

Jasha Joachimsthal

---------

Hippo
Oosteinde 11
1017 WT Amsterdam
The Netherlands
+31 (0)20 5224466 

[EMAIL PROTECTED]
www.hippo.nl


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: zaterdag 25 november 2006 17:27
> To: [email protected]
> Subject: Re: wap i18n
> 
> 
> and another question is how to know the clients side support 
> what kind 
> of browser (wap, xhtml...)
> 
> Best Regards
> 
> johnson
> 
> Bertrand Delacretaz 提到:
> > On 11/25/06, 許議中 <[EMAIL PROTECTED]> wrote:
> > 
> >> ...does anybody know how to use i18n in wml...
> > 
> > 
> > Generating wml via i18n you mean? No problem:
> > 
> >  generator -> transformers -> i18nTransformer -> WMLSerializer
> > 
> > WMLSerializer is an XML serializer with the appropriate mime-type 
> > configuration.
> > 
> > HTH,
> > -Bertrand
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Reply via email to