Don't tried with cocoon yet, but I think you have to tell Apache about
mimetypes with "AddType"
like this. Then it works with static .wml files including images.
# HVB Start : Für WAP Service
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .wmls
AddType text/vnd.wap.si .si
AddType text/vnd.wap.sl .sl
AddType text/vnd.x-vcard .vcf
AddType text/vnd.x-vCalendar .vcs
AddType image/vnd.wap.wbmp .wbmp
AddType application/vnd.wap.wmlc .wmlc
AddType application/vnd.wap.wmlscriptc .wmlsc
# HVB Ende
> -----Ursprüngliche Nachricht-----
> Von: David Dupuy [SMTP:ddupuy@baan.com]
> Gesendet am: Dienstag, 1. August 2000 16:00
> An: 'cocoon-users@xml.apache.org'
> Betreff: WML
>
> Hello all,
> Has someone already tried the stylesheet for Nokia toolkit? I've got some
> problems to make the basic example working. Via the Nokia toolkit, Should
I
> browse for the xml file and the WML will be generated thanks to the right
> stylesheet? I get some curious errors when I try by this way. Should I set
> up something to the Nokia toolkit to make it working with Cocoon?
> Thx
>
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
|